acpi: pvpanic-isa: use AcpiDevAmlIfClass:build_dev_aml to provide device's AML
authorIgor Mammedov <imammedo@redhat.com>
Wed, 8 Jun 2022 13:53:33 +0000 (09:53 -0400)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 9 Jun 2022 23:32:49 +0000 (19:32 -0400)
commitff36e90e7c12c0bfdb43737614f8ef7c3bc35bd1
treeee8427ebecb15a411316e6d2bf4cd1b124304427
parentfd7bcffe5988d799f37e4ad92cfd1480ce7a9ce6
acpi: pvpanic-isa: use AcpiDevAmlIfClass:build_dev_aml to provide device's AML

.. and clean up not longer needed conditionals in DSTD build code
pvpanic-isa AML will be fetched and included when ISA bridge will
build its own AML code (including attached devices).

Expected AML change:
   the device under separate _SB.PCI0.ISA scope is moved directly
   under Device(ISA) node.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Message-Id: <20220608135340.3304695-29-imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/acpi-build.c
hw/misc/pvpanic-isa.c
include/hw/misc/pvpanic.h