From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:40150) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RYjJG-0005Tq-NA for qemu-devel@nongnu.org; Thu, 08 Dec 2011 14:07:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RYjJE-0008NM-Pw for qemu-devel@nongnu.org; Thu, 08 Dec 2011 14:07:10 -0500 Received: from mx1.redhat.com ([209.132.183.28]:27414) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RYjJE-0008ND-JO for qemu-devel@nongnu.org; Thu, 08 Dec 2011 14:07:08 -0500 Date: Thu, 8 Dec 2011 19:07:00 +0000 From: "Daniel P. Berrange" Message-ID: <20111208190700.GA19710@redhat.com> References: <20111208165258.17ab95f7@doriath> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20111208165258.17ab95f7@doriath> Subject: Re: [Qemu-devel] [RFC] qemu-ga: Introduce guest-hibernate command Reply-To: "Daniel P. Berrange" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Luiz Capitulino Cc: Amit Shah , qemu-devel , mdroth@linux.vnet.ibm.com On Thu, Dec 08, 2011 at 04:52:58PM -0200, Luiz Capitulino wrote: > This is basically suspend to disk on a Linux guest. > 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: I think you should really be invoking 'pm-hibernate', because IIUC there are others tasks that need to be done, besides just telling the kernel to hibernate via sysfs. Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|