pcihp: make bridge describe itself using AcpiDevAmlIfClass:build_dev_aml
commit6c36ec46b0d28f682eed1ce1278989535c1307dc
authorIgor Mammedov <imammedo@redhat.com>
Thu, 12 Jan 2023 14:03:01 +0000 (12 15:03 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Sat, 28 Jan 2023 11:21:29 +0000 (28 06:21 -0500)
treedbc97771d2bd9e2bb51157b4aa7a841439abe73c
parentd78644c7817617ea99b05ff30738580c56a6194f
pcihp: make bridge describe itself using AcpiDevAmlIfClass:build_dev_aml

simplify build_append_pci_bus_devices() a bit by handling bridge
specific logic in bridge dedicated AcpiDevAmlIfClass::build_dev_aml
callback.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20230112140312.3096331-30-imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/acpi/Kconfig
hw/acpi/meson.build
hw/acpi/pci-bridge-stub.c [new file with mode: 0644]
hw/acpi/pci-bridge.c [new file with mode: 0644]
hw/i386/Kconfig
hw/i386/acpi-build.c
hw/pci/pci_bridge.c
include/hw/acpi/pci.h