From: Igor Mammedov Date: Fri, 19 Dec 2014 11:46:57 +0000 (+0000) Subject: pc: acpi: fix WindowsXP BSOD when memory hotplug is enabled X-Git-Tag: qemu-xen-4.6.0-rc1~34^2~5 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=dab0efc33fc839d76ca39353c3538052eabdb796;p=qemu-upstream-unstable.git pc: acpi: fix WindowsXP BSOD when memory hotplug is enabled 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 Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin (cherry picked from commit 6d4e4cb9985e24557abcf3932a0e7f8f6ab3c1d2) Signed-off-by: Michael Roth --- diff --git a/hw/i386/acpi-dsdt-cpu-hotplug.dsl b/hw/i386/acpi-dsdt-cpu-hotplug.dsl index 34aab5af4..268d87099 100644 --- a/hw/i386/acpi-dsdt-cpu-hotplug.dsl +++ b/hw/i386/acpi-dsdt-cpu-hotplug.dsl @@ -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)