From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:39881) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qa9zf-0001UO-3p for qemu-devel@nongnu.org; Fri, 24 Jun 2011 13:16:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qa9zc-0005Np-Rs for qemu-devel@nongnu.org; Fri, 24 Jun 2011 13:16:34 -0400 Received: from mail-pv0-f173.google.com ([74.125.83.173]:63844) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qa9zc-0005KD-Ho for qemu-devel@nongnu.org; Fri, 24 Jun 2011 13:16:32 -0400 Received: by pvg3 with SMTP id 3so1919065pvg.4 for ; Fri, 24 Jun 2011 10:16:30 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <201106242006.58883.anarsoul@gmail.com> References: <201106081422.42682.anarsoul@gmail.com> <1308305077-21503-2-git-send-email-anarsoul@gmail.com> <201106242006.58883.anarsoul@gmail.com> Date: Fri, 24 Jun 2011 18:16:30 +0100 Message-ID: From: Peter Maydell Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [PATCH v4 2/2] Add support for Zipit Z2 machine List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Vasily Khoruzhick Cc: "qemu-devel@nongnu.org" On 24 June 2011 18:06, Vasily Khoruzhick wrote: > On Friday 24 June 2011 17:45:06 Peter Maydell wrote: >> Have you tried vmload/vmsave, by the way? (I don't know if all the >> devices the pxa2xx uses have save/load support implemented, it >> would be interesting to check if you haven't already.) > > Nope, how to try vmload/vmsave? You'll need your sd card to be on an image format that supports snapshots (use 'qemu-img convert' to convert it to qcow2). Then you can use the monitor command 'savevm savename' to save a snapshot at any time. Reload an old snapshot with 'loadvm savename' or use the qemu command line '-loadvm savename' to start immediately from a snapshot. If the reloaded image hangs or otherwise behaves badly that's probably a sign that some device somewhere isn't restoring all its state; usually most easily determined by code inspection of all the devices that your machine instantiates. -- PMM