qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v3 2/6] suspend: switch acpi s3 to new infrastru


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH v3 2/6] suspend: switch acpi s3 to new infrastructure.
Date: Thu, 09 Feb 2012 13:47:30 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111222 Thunderbird/9.0

On 02/09/2012 01:31 PM, Gleb Natapov wrote:
Real HW may have other ways to notify BIOS that system was S3 suspended
(special chipset register for instance).  I think we can write DSDT magic
to write RTC for us, but I prefer to do it from inside QEMU.

Heh, I would prefer DSDT magic, but I wouldn't want to write it. ;)

>  RTC memory is nvram, what happens if I remove the mains plug while
>  the system is in S3?

RTC is battery backed, but what do you expect will happen to main memory
where all your data resides during S3 in this case anyway?

Ah, I confused the ACPI resume vector with the BIOS vector at 0040:0067. No ACPI tables -> no resume vector, and S3 resume will fail.

Paolo



reply via email to

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