diff options
| author | Igor Mammedov | 2022-06-08 15:53:33 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2022-06-10 01:32:49 +0200 |
| commit | ff36e90e7c12c0bfdb43737614f8ef7c3bc35bd1 (patch) | |
| tree | ee8427ebecb15a411316e6d2bf4cd1b124304427 /include/hw | |
| parent | tests: acpi: add pvpanic-isa: testcase (diff) | |
| download | qemu-ff36e90e7c12c0bfdb43737614f8ef7c3bc35bd1.tar.gz qemu-ff36e90e7c12c0bfdb43737614f8ef7c3bc35bd1.tar.xz qemu-ff36e90e7c12c0bfdb43737614f8ef7c3bc35bd1.zip | |
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>
Diffstat (limited to 'include/hw')
| -rw-r--r-- | include/hw/misc/pvpanic.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/hw/misc/pvpanic.h b/include/hw/misc/pvpanic.h index 7f16cc9b16..e520566ab0 100644 --- a/include/hw/misc/pvpanic.h +++ b/include/hw/misc/pvpanic.h @@ -33,13 +33,4 @@ struct PVPanicState { void pvpanic_setup_io(PVPanicState *s, DeviceState *dev, unsigned size); -static inline uint16_t pvpanic_port(void) -{ - Object *o = object_resolve_path_type("", TYPE_PVPANIC_ISA_DEVICE, NULL); - if (!o) { - return 0; - } - return object_property_get_uint(o, PVPANIC_IOPORT_PROP, NULL); -} - #endif |
