diff options
author | Dr. David Alan Gilbert <dave@treblig.org> | 2024-09-18 01:51:32 +0100 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2024-10-03 17:26:05 +0300 |
commit | 0fb3c8b88a585f04da8f23f36ed4e60525690bbd (patch) | |
tree | 68bc29397457e2a0f36064d765db1edc57a62ecc | |
parent | 5925b20b60d0aa9217a240445a84d2b28cc8157d (diff) | |
download | qemu-0fb3c8b88a585f04da8f23f36ed4e60525690bbd.zip qemu-0fb3c8b88a585f04da8f23f36ed4e60525690bbd.tar.gz qemu-0fb3c8b88a585f04da8f23f36ed4e60525690bbd.tar.bz2 |
q35: Remove unused mch_mcfg_base
mch_mcfg_base has been unused since it was added by
6f1426ab0f ("ich9: APIs for pc guest info")
back in 2013.
Remove it.
Signed-off-by: Dr. David Alan Gilbert <dave@treblig.org>
Reviewed-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
-rw-r--r-- | hw/pci-host/q35.c | 10 | ||||
-rw-r--r-- | include/hw/pci-host/q35.h | 2 |
2 files changed, 0 insertions, 12 deletions
diff --git a/hw/pci-host/q35.c b/hw/pci-host/q35.c index d5a657a..f3e7133 100644 --- a/hw/pci-host/q35.c +++ b/hw/pci-host/q35.c @@ -662,16 +662,6 @@ static void mch_realize(PCIDevice *d, Error **errp) OBJECT(&mch->smram)); } -uint64_t mch_mcfg_base(void) -{ - bool ambiguous; - Object *o = object_resolve_path_type("", TYPE_MCH_PCI_DEVICE, &ambiguous); - if (!o) { - return 0; - } - return MCH_HOST_BRIDGE_PCIEXBAR_DEFAULT; -} - static Property mch_props[] = { DEFINE_PROP_UINT16("extended-tseg-mbytes", MCHPCIState, ext_tseg_mbytes, 16), diff --git a/include/hw/pci-host/q35.h b/include/hw/pci-host/q35.h index 22fadfa..ddafc3f 100644 --- a/include/hw/pci-host/q35.h +++ b/include/hw/pci-host/q35.h @@ -181,8 +181,6 @@ struct Q35PCIHost { #define MCH_PCIE_DEV 1 #define MCH_PCIE_FUNC 0 -uint64_t mch_mcfg_base(void); - /* * Arbitrary but unique BNF number for IOAPIC device. * |