]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
pc: acpi: fix WindowsXP BSOD when memory hotplug is enabled
authorIgor Mammedov <imammedo@redhat.com>
Fri, 19 Dec 2014 11:46:57 +0000 (11:46 +0000)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 9 Mar 2015 03:58:14 +0000 (22:58 -0500)
ACPI parser in XP considers PNP0A06 devices of CPU and
memory hotplug as duplicates. Adding unique _UID
to CPU hotplug device fixes BSOD.

Cc: qemu-stable@nongnu.org
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
(cherry picked from commit 6d4e4cb9985e24557abcf3932a0e7f8f6ab3c1d2)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/i386/acpi-dsdt-cpu-hotplug.dsl

index 34aab5af43ab446aade4afef6b145fb20c9abb58..268d870990b50e4a09fdbab5a84eb15fd0062775 100644 (file)
@@ -94,6 +94,7 @@ Scope(\_SB) {
 
     Device(CPU_HOTPLUG_RESOURCE_DEVICE) {
         Name(_HID, EisaId("PNP0A06"))
+        Name(_UID, "CPU hotplug resources")
 
         Name(_CRS, ResourceTemplate() {
             IO(Decode16, CPU_STATUS_BASE, CPU_STATUS_BASE, 0, CPU_STATUS_LEN)