qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC] qemu-ga: Introduce guest-hibernate command


From: Amit Shah
Subject: Re: [Qemu-devel] [RFC] qemu-ga: Introduce guest-hibernate command
Date: Fri, 9 Dec 2011 10:31:25 +0530
User-agent: Mutt/1.5.21 (2010-09-15)

On (Thu) 08 Dec 2011 [16:52:58], Luiz Capitulino wrote:
> This is basically suspend to disk on a Linux guest.
> 
> Signed-off-by: Luiz Capitulino <address@hidden>
> ---
> 
> This is an RFC because I did it as simple as possible and I'm open to
> suggestions...
> 
> Now, while testing this or even "echo disk > /sys/power/state" I get several
> funny results. Some times qemu just dies after printing that message:
> 
>  "Guest moved used index from 20151 to 1"

Virtio drivers don't handle S4 at all (yet).  I have patches that are
being discussed to add this support.  Please try without virtio
devices.

> Some times it doesn't die, but I'm unable to log into the guest: I type
> username & password but the terminal kind of locks (the shell doesn't run).

kvmclock too doesn't handle resume from S4 yet.  So use '-kvmclock'
for your cpu definition (or clock=pmtmr in your kernel cmd line).

Thanks for the patch!

                Amit



reply via email to

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