public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Set bit 1 in disabled processor's _STA
@ 2009-05-15 12:14 Glauber Costa
  2009-05-17  8:23 ` Gleb Natapov
  0 siblings, 1 reply; 22+ messages in thread
From: Glauber Costa @ 2009-05-15 12:14 UTC (permalink / raw)
  To: kvm; +Cc: avi

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


^ permalink raw reply related	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2009-05-18 12:54 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-15 12:14 [PATCH] Set bit 1 in disabled processor's _STA Glauber Costa
2009-05-17  8:23 ` Gleb Natapov
2009-05-17 13:27   ` Glauber Costa
2009-05-17 14:30     ` Gleb Natapov
2009-05-17 15:06       ` Glauber Costa
2009-05-17 15:21         ` Gleb Natapov
2009-05-17 15:47           ` Glauber Costa
2009-05-18  6:58             ` Gleb Natapov
2009-05-17 14:31   ` Glauber Costa
2009-05-17 14:32     ` Gleb Natapov
2009-05-17 15:07       ` Glauber Costa
2009-05-17 15:30         ` Gleb Natapov
2009-05-17 20:07           ` Avi Kivity
2009-05-18  0:47             ` Glauber Costa
2009-05-18  5:17             ` Gleb Natapov
2009-05-18  5:44               ` Avi Kivity
2009-05-18  5:53                 ` Gleb Natapov
2009-05-18 11:39                   ` Glauber Costa
2009-05-18 11:40                     ` Gleb Natapov
2009-05-18 12:40                       ` Glauber Costa
2009-05-18 12:42                         ` Gleb Natapov
2009-05-18 12:59                           ` Glauber Costa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox