[PATCH] Set bit 1 in disabled processor's _STA

Glauber Costa
2009-05-15T12:14:44Z

This patch sets bits 1 in disabled processor's _STA.
According to the ACPI spec, this bit means:
"Set if the device is enabled and decoding its resources."

Without it, Windows 2008 device manager shows the processors
as malfunctioning hardware.

Signed-off-by: Glauber Costa <glommer@redhat.com>
---
kvm/bios/acpi-dsdt.dsl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kvm/bios/acpi-dsdt.dsl b/kvm/bios/acpi-dsdt.dsl
index c756fed..c53816c 100755
--- a/kvm/bios/acpi-dsdt.dsl
+++ b/kvm/bios/acpi-dsdt.dsl
@@ -56,7 +56,7 @@ DefinitionBlock (
} \
Method (_STA) { \
If (CRST(nr)) { Return(0xF) } \
- Else { Return(0x9) } \
+ Else { Return(0xB) } \
} \
} \

--
1.5.6.6