On Fri, Apr 20, 2012 at 09:39:59PM +0200, Paolo Bonzini wrote: > Il 20/04/2012 19:26, Michael Roth ha scritto: > > Do we have a way of differentiating a guest shutting down as a result of > > shutdown vs. suspend-to-disk? AFAIK they both have the same ending state. If > > so I'm not sure we can say anything other than "the machine may or may not > > resume when you start it up, depending on whether or not the suspend-to-disk > > completed before the machine shut down". > > I'm not sure but I think you can differentiate S4 and S5 in the DSDT. > You can (not done now) but I wouldn't rely on it. Some OSes do suspend to disk, even when bios does not report S4 support, by doing powerdown. At least Linux and WinXP do that.
-- Gleb.