summaryrefslogtreecommitdiffstats
path: root/stubs
diff options
context:
space:
mode:
authorAni Sinha2021-08-25 05:19:45 +0200
committerMichael S. Tsirkin2021-09-04 23:34:05 +0200
commit6c1ebe75ae7a9f873c40b9582d7f14c6fe4129ea (patch)
tree636cbb6888fdfa2fa4af33313f974594b0a7cf9d /stubs
parenthw/i386/acpi-build: Get NUMA information from struct NumaState (diff)
downloadqemu-6c1ebe75ae7a9f873c40b9582d7f14c6fe4129ea.tar.gz
qemu-6c1ebe75ae7a9f873c40b9582d7f14c6fe4129ea.tar.xz
qemu-6c1ebe75ae7a9f873c40b9582d7f14c6fe4129ea.zip
hw/pci: remove all references to find_i440fx function
commit c0e427d6eb5fefc538 ("hw/acpi/ich9: Enable ACPI PCI hot-plug") removed all uses of find_i440fx() function. This has been replaced by the more generic call acpi_get_i386_pci_host() which maybe able to find the root bus both for i440fx machine type as well as for the q35 machine type. There seems to be no more any need to maintain a i440fx specific version of the api call. Remove it. Tested by building from a clean tree successfully. Signed-off-by: Ani Sinha <ani@anisinha.ca> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20210825031949.919376-2-ani@anisinha.ca> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'stubs')
-rw-r--r--stubs/meson.build1
-rw-r--r--stubs/pci-host-piix.c7
2 files changed, 0 insertions, 8 deletions
diff --git a/stubs/meson.build b/stubs/meson.build
index 275ac89c16..beee31ec73 100644
--- a/stubs/meson.build
+++ b/stubs/meson.build
@@ -26,7 +26,6 @@ stub_ss.add(files('module-opts.c'))
stub_ss.add(files('monitor.c'))
stub_ss.add(files('monitor-core.c'))
stub_ss.add(files('pci-bus.c'))
-stub_ss.add(files('pci-host-piix.c'))
stub_ss.add(files('qemu-timer-notify-cb.c'))
stub_ss.add(files('qmp_memory_device.c'))
stub_ss.add(files('qmp-command-available.c'))
diff --git a/stubs/pci-host-piix.c b/stubs/pci-host-piix.c
deleted file mode 100644
index 93975adbfe..0000000000
--- a/stubs/pci-host-piix.c
+++ /dev/null
@@ -1,7 +0,0 @@
-#include "qemu/osdep.h"
-#include "hw/pci-host/i440fx.h"
-
-PCIBus *find_i440fx(void)
-{
- return NULL;
-}