mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-09-06 18:05:37 +00:00
pc: acpi: fix pvpanic regression
Commit cd61cb2
pc: acpi-build: generate pvpanic device description dynamically
introduced regression changing pvpanic device HID from
QEMU0001 to QEMU0002.
Fix AML generated code so that pvpanic device
would keep its original HID. i.e. QEMU0001
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reported-by: Gal Hammer <ghammer@redhat.com>
Message-Id: <1427717907-25027-1-git-send-email-imammedo@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
36bce5ca5d
commit
e65bef6954
|
@ -788,7 +788,7 @@ build_ssdt(GArray *table_data, GArray *linker,
|
||||||
scope = aml_scope("\\_SB.PCI0.ISA");
|
scope = aml_scope("\\_SB.PCI0.ISA");
|
||||||
|
|
||||||
dev = aml_device("PEVR");
|
dev = aml_device("PEVR");
|
||||||
aml_append(dev, aml_name_decl("_HID", aml_string("QEMU0002")));
|
aml_append(dev, aml_name_decl("_HID", aml_string("QEMU0001")));
|
||||||
|
|
||||||
crs = aml_resource_template();
|
crs = aml_resource_template();
|
||||||
aml_append(crs,
|
aml_append(crs,
|
||||||
|
|
Loading…
Reference in a new issue