pc: acpi: fix pvpanic regression
PATCH 1/1 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
--- hw/i386/acpi-build.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/i386/acpi-build.c +1 -1
@@ -788,7 +788,7 @@ build_ssdt(GArray *table_data, GArray *linker, scope =aml_scope ("\\_SB.PCI0.ISA" ); 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 (); aml_append(crs,
Signature · 1 line
2.1.0
Quoted 19 lines · Igor Mammedov
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. QEMU0001Signed-off-by Igor Mammedov <[email protected]>Reported-by Gal Hammer <[email protected]>--- hw/i386/acpi-build.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/i386/acpi-build.c +0
-0
hw/i386/acpi-build.c build_ssdt(GArray *table_data, GArray *linker, · line 794
Quoted 8 lines
hw/i386/acpi-build.c +1
-1@@ -788,7 +788,7 @@ build_ssdt(GArray *table_data, GArray *linker, scope =aml_scope ("\\_SB.PCI0.ISA" ); 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 (); aml_append(crs,
Pretty obvious, so I can take this through my tree.
Paolo
Quoted 27 lines · On Mon, 30 Mar 2015 14:27:05 +0200 Paolo Bonzini <[email protected]> wrote:
Quoted 24 lines · Igor Mammedov
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. QEMU0001Signed-off-by Igor Mammedov <[email protected]>Reported-by Gal Hammer <[email protected]>--- hw/i386/acpi-build.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/i386/acpi-build.c +1
-1@@ -788,7 +788,7 @@ build_ssdt(GArray *table_data, GArray *linker, scope =aml_scope ("\\_SB.PCI0.ISA" ); dev =aml_device ("PEVR" ); -aml_append (dev,aml_name_decl ("_HID" ,aml_string ("QEMU0002" ))); +aml_append (dev,aml_name_decl ("_HID" ,aml_string ("QEMU0001" )));
Quoted 5 lines
hw/i386/acpi-build.c build_ssdt(GArray *table_data, GArray *linker, · line 794
Quoted 3 lines
hw/i386/acpi-build.c +0
-0crs =aml_resource_template (); aml_append(crs,Pretty obvious, so I can take this through my tree.
Thanks!
I'll post additional test patch for 2.4
Quoted 3 lines
Paolo
Quoted 9 lines · Igor Mammedov
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. QEMU0001Signed-off-by Igor Mammedov <[email protected]>Reported-by Gal Hammer <[email protected]>
Quoted 19 lines
--- hw/i386/acpi-build.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/i386/acpi-build.c +1
-1@@ -788,7 +788,7 @@ build_ssdt(GArray *table_data, GArray *linker, scope =aml_scope ("\\_SB.PCI0.ISA" ); 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 (); aml_append(crs,Signature · 1 line
2.1.0