Displaying 1 result from an estimated 1 matches for "incre_img".
2011 Jul 02
2
Associating a statefile with an image
...he vm memory state to a state fie.Use the image and statefile together as a template. Now create a new vm using the template. I can successfully do it using the following commands :
Save phase :
stop
migrate "exec:gzip -c > STATEFILE.gz"
qemu-img
qemu-img create -b BASE_img -f qcow2 INCRE_img
Restore phase :
qemu-kvm -m 1024 -hda INCRE_img -incoming "exec: gzip -c -d STATEFILE.gz"
And it works fine. But I am not able to find the vm with virt-manager or other libvirt based tools.
If I use :
virsh save <dom_id> STATEFILE
I can restore using "virsh restore STATEFI...