[Bug 442598] Re: 'qemu-img snapshot' crashed, corrupting disk image
Dustin Kirkland
dustin.kirkland at gmail.com
Tue Mar 2 23:34:38 GMT 2010
Actually I tested savevm too, and that seems to work as well. Here's
how, for completeness...
$ kvm-img create -f qcow2 foo.img 4G
Formatting 'foo.img', fmt=qcow2 size=4294967296 encryption=off cluster_size=0
$ kvm -m 512 -cdrom lucid-desktop-amd64.iso -hda foo.img
At some point here (even during boot), drop to monitor
ctrl-alt-2
savevm foo.img
You can watch the image grow as memory is written:
$ watch ls -alF foo.img
Once it's done, go back to the vga with ctrl-alt-1. Change the system somehow. Then roll back with
ctrl-alt-2
loadvm foo.img
Worked well for me.
--
'qemu-img snapshot' crashed, corrupting disk image
https://bugs.launchpad.net/bugs/442598
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.
More information about the Ubuntu-server-bugs
mailing list