qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v3 6/6] Don't power down vga card on entering S3


From: Glauber Costa
Subject: Re: [Qemu-devel] [PATCH v3 6/6] Don't power down vga card on entering S3 state.
Date: Mon, 10 Nov 2008 10:07:19 -0200

On Mon, Nov 10, 2008 at 7:12 AM, Gleb Natapov <address@hidden> wrote:
> This is needed to fool windows to enter S3. The trick works for XP and
> Windows2003, but Vista still refuse to allow S3.
>
> Signed-off-by: Gleb Natapov <address@hidden>
> ---
>
>  bios/acpi-dsdt.dsl |   15 ++
>  bios/acpi-dsdt.hex |  373 
> ++++++++++++++++++++++++++--------------------------
>  2 files changed, 204 insertions(+), 184 deletions(-)
>
> diff --git a/bios/acpi-dsdt.dsl b/bios/acpi-dsdt.dsl
> index 280a05e..5fc3636 100644
> --- a/bios/acpi-dsdt.dsl
> +++ b/bios/acpi-dsdt.dsl
> @@ -133,6 +133,21 @@ DefinitionBlock (
>     }
>
>     Scope(\_SB.PCI0) {
> +        Device (VGA) {
> +                 Name (_ADR, 0x00020000)
> +                 Method (_S1D, 0, NotSerialized)
> +                 {
> +                         Return (0x00)
> +                 }
> +                 Method (_S2D, 0, NotSerialized)
> +                 {
> +                         Return (0x00)
> +                 }
> +                 Method (_S3D, 0, NotSerialized)
> +                 {
> +                         Return (0x00)
> +                 }
> +        }
>
>        /* PIIX3 ISA bridge */
>         Device (ISA) {
> diff --git a/bios/acpi-dsdt.hex b/bios/acpi-dsdt.hex
> index 6088b18..a4c64e6 100644
> --- a/bios/acpi-dsdt.hex
> +++ b/bios/acpi-dsdt.hex
This one should be generated, right?
I don't think we actually need it in the patch

-- 
Glauber  Costa.
"Free as in Freedom"
http://glommer.net

"The less confident you are, the more serious you have to act."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]