Suspend to disk

lexi

New Member
Dec 27, 2010
1
0
1
I searching for a solution to implement a "suspend to disk" feature for my KVMs (without using OS suspend features). I used this feature in VMware quite often, also virsh has an option for that (virsh save and virsh restore).

Currently I'm creating a state image via qm:

stop
migrate "exec:gzip -c > STATEFILE_VMID.gz"

and add a line to the VMID.conf file:

args: -incoming "exec: gzip -c -d STATEFILE_VMID.gz"

Is there a better solution for this, e.g. via vzdump, or can I use virsh somehow on proxmox? How can I integrate this into the Web-GUI?