Steward
分享是一種喜悅、更是一種幸福
系統 - Debian - QEMU - 如何Take Snapshot
參考資訊:
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
(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"