From 50329d3418c959ebce63c59d4c21473ac102d88f Mon Sep 17 00:00:00 2001 From: "Michael S. Tsirkin" Date: Wed, 9 Apr 2014 17:47:07 +0300 Subject: [PATCH 1/2] tests/acpi: update expected DSDT files commit f2ccc311df55ec026a8f8ea9df998f26314f22b2 dsdt: tweak ACPI ID for hotplug resource device changes the DSDT, update test expected files to match Signed-off-by: Michael S. Tsirkin Reported-by: Igor Mammedov --- tests/acpi-test-data/pc/DSDT | Bin 4485 -> 4480 bytes tests/acpi-test-data/q35/DSDT | Bin 7383 -> 7378 bytes 2 files changed, 0 insertions(+), 0 deletions(-) diff --git a/tests/acpi-test-data/pc/DSDT b/tests/acpi-test-data/pc/DSDT index 8b14a5f6f2012dc9bfd01f13931100f002e99391..d0bb3de79d2ff98736e8a54e6e8859ab4efeaf03 100644 GIT binary patch delta 45 zcmZowZcyfO33dr-5M*Fr+`Ex$AwQ$j Date: Thu, 10 Apr 2014 19:03:18 +0300 Subject: [PATCH 2/2] acpi: update generated hex files commit f2ccc311df55ec026a8f8ea9df998f26314f22b2 dsdt: tweak ACPI ID for hotplug resource device changes the DSDT, update hex files to match Otherwise the fix is only effective if QEMU is built with iasl. Signed-off-by: Michael S. Tsirkin --- hw/i386/acpi-dsdt.hex.generated | 25 ++++++++++--------------- hw/i386/q35-acpi-dsdt.hex.generated | 25 ++++++++++--------------- 2 files changed, 20 insertions(+), 30 deletions(-) diff --git a/hw/i386/acpi-dsdt.hex.generated b/hw/i386/acpi-dsdt.hex.generated index 94c6e8e114..e61572a5dd 100644 --- a/hw/i386/acpi-dsdt.hex.generated +++ b/hw/i386/acpi-dsdt.hex.generated @@ -3,12 +3,12 @@ static unsigned char AcpiDsdtAmlCode[] = { 0x53, 0x44, 0x54, -0x85, +0x80, 0x11, 0x0, 0x0, 0x1, -0x8b, +0x60, 0x42, 0x58, 0x50, @@ -31,8 +31,8 @@ static unsigned char AcpiDsdtAmlCode[] = { 0x4e, 0x54, 0x4c, -0x23, -0x8, +0x15, +0x11, 0x13, 0x20, 0x10, @@ -4010,7 +4010,7 @@ static unsigned char AcpiDsdtAmlCode[] = { 0x53, 0x1, 0x10, -0x47, +0x42, 0x11, 0x5f, 0x53, @@ -4243,7 +4243,7 @@ static unsigned char AcpiDsdtAmlCode[] = { 0x60, 0x5b, 0x82, -0x2e, +0x29, 0x50, 0x52, 0x45, @@ -4253,16 +4253,11 @@ static unsigned char AcpiDsdtAmlCode[] = { 0x48, 0x49, 0x44, -0xd, +0xc, 0x41, -0x43, -0x50, -0x49, -0x30, -0x30, -0x30, -0x34, -0x0, +0xd0, +0xa, +0x6, 0x8, 0x5f, 0x43, diff --git a/hw/i386/q35-acpi-dsdt.hex.generated b/hw/i386/q35-acpi-dsdt.hex.generated index 6c29f3b6d2..6b788c9be0 100644 --- a/hw/i386/q35-acpi-dsdt.hex.generated +++ b/hw/i386/q35-acpi-dsdt.hex.generated @@ -3,12 +3,12 @@ static unsigned char Q35AcpiDsdtAmlCode[] = { 0x53, 0x44, 0x54, -0xd7, +0xd2, 0x1c, 0x0, 0x0, 0x1, -0x3e, +0x13, 0x42, 0x58, 0x50, @@ -31,8 +31,8 @@ static unsigned char Q35AcpiDsdtAmlCode[] = { 0x4e, 0x54, 0x4c, -0x23, -0x8, +0x15, +0x11, 0x13, 0x20, 0x10, @@ -6959,7 +6959,7 @@ static unsigned char Q35AcpiDsdtAmlCode[] = { 0x53, 0x1, 0x10, -0x47, +0x42, 0x11, 0x5f, 0x53, @@ -7192,7 +7192,7 @@ static unsigned char Q35AcpiDsdtAmlCode[] = { 0x60, 0x5b, 0x82, -0x2e, +0x29, 0x50, 0x52, 0x45, @@ -7202,16 +7202,11 @@ static unsigned char Q35AcpiDsdtAmlCode[] = { 0x48, 0x49, 0x44, -0xd, +0xc, 0x41, -0x43, -0x50, -0x49, -0x30, -0x30, -0x30, -0x34, -0x0, +0xd0, +0xa, +0x6, 0x8, 0x5f, 0x43,