From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:59311) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RYsaV-0003H6-Sj for qemu-devel@nongnu.org; Fri, 09 Dec 2011 00:01:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RYsaU-0001yo-VQ for qemu-devel@nongnu.org; Fri, 09 Dec 2011 00:01:35 -0500 Received: from mx1.redhat.com ([209.132.183.28]:45795) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RYsaU-0001yY-Ix for qemu-devel@nongnu.org; Fri, 09 Dec 2011 00:01:34 -0500 Date: Fri, 9 Dec 2011 10:31:25 +0530 From: Amit Shah Message-ID: <20111209050125.GA2464@amit-x200.redhat.com> References: <20111208165258.17ab95f7@doriath> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111208165258.17ab95f7@doriath> Subject: Re: [Qemu-devel] [RFC] qemu-ga: Introduce guest-hibernate command List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Luiz Capitulino Cc: qemu-devel , mdroth@linux.vnet.ibm.com 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 > --- > > 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