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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 15, 2009 at 08:14:43AM -0400, Glauber Costa wrote:
> 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.
> 
If you uncheck "show hidden devices" option in View menu of the
device manager you should see only enabled CPUs (bit 2 of _STA).
This patch breaks resume from hibernate on windows 2008/vista.

> Signed-off-by: Glauber Costa <glommer@xxxxxxxxxx>
> ---
>  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
> 
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
			Gleb.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux