參考資訊:
https://serverfault.com/questions/889163/combine-snapshot-and-loadvm-snap-id-in-qemu-system
Take Snapshot:
$ qemu-system-i386 -hda xxx.qcow2 -boot c -cpu coreduo -m 1024 -vga cirrus -accel tcg -monitor stdio -snapshot (qemu) migrate "exec: gzip -c > myvm.gz"
Restore Snapshot:
$ qemu-system-i386 -hda xxx.qcow2 -boot c -cpu coreduo -m 1024 -vga cirrus -accel tcg -monitor stdio -snapshot -incoming "exec: gzip -c -d myvm.gz"