[SeaBIOS] [PATCH] lest pretend that RTC can be used to wakeup from S4

Peter Stuge peter at stuge.se
Sun Jan 30 15:30:43 CET 2011

Gleb Natapov wrote:
> > > WHQL complains otherwise.
> > 
> > Is there something further that should be activated, to actually
> > allow the wakeup to work? Hm, isn't S4 hibernate?
> Not in a bios. Qemu currently exits on S4 (hibernate to disk). Restarting
> it activates resume process. On real HW RTC may be programmed to initiate
> resume at certain time. Since qemu process exits on S4 it is not clear
> how to implement such functionality there.

All right, but that can be solved somewhere closer to QEMU. :) As you
know, SeaBIOS is also used outside QEMU, and maybe more action is
needed there.

If the capability is advertised to the OS then it's of course also
possible that the OS will try to use it. Does Windows e.g. rely on
BIOS or AML for setting the RTC that will presumably wake the system
up, or no?


More information about the SeaBIOS mailing list