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 S. Tsirkin <mst@redhat.com>
Mon, 26 Jan 2015 18:25:52 +0000 (20:25 +0200)
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>
hw/i386/acpi-dsdt-cpu-hotplug.dsl

index 34aab5a..268d870 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)