]> www.infradead.org Git - users/dwmw2/qemu.git/commit
hw/pci: remove all references to find_i440fx function
authorAni Sinha <ani@anisinha.ca>
Wed, 25 Aug 2021 03:19:45 +0000 (08:49 +0530)
committerMichael S. Tsirkin <mst@redhat.com>
Sat, 4 Sep 2021 21:34:05 +0000 (17:34 -0400)
commit6c1ebe75ae7a9f873c40b9582d7f14c6fe4129ea
tree636cbb6888fdfa2fa4af33313f974594b0a7cf9d
parente77af21a7a28e7b39f8e1f9b46d26d23d9a2396a
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>
hw/pci-host/i440fx.c
include/hw/pci-host/i440fx.h
stubs/meson.build
stubs/pci-host-piix.c [deleted file]