On 24 June 2011 18:06, Vasily Khoruzhick <anars...@gmail.com> 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