pci: acpi: wire up AcpiDevAmlIf interface to generic bridge
commitd78644c7817617ea99b05ff30738580c56a6194f
authorIgor Mammedov <imammedo@redhat.com>
Thu, 12 Jan 2023 14:03:00 +0000 (12 15:03 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Sat, 28 Jan 2023 11:21:29 +0000 (28 06:21 -0500)
treec2ca47b3e2c9cc33bdfc7738eacf6a92442d0a8a
parentab84fc1c353cd396b420e3c3360508ada594f6a9
pci: acpi: wire up AcpiDevAmlIf interface to generic bridge

... so that the concrete impl. won't has to duplicate it
every time. By default it doesn't do anything unless leaf class
defines and sets AcpiDevAmlIfClass::build_dev_aml handler.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20230112140312.3096331-29-imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci/pci_bridge.c