qemu-img info vm100.qcow2 #查看 qcow2
qemu-img snapshot -l vm100.qcow2 #檢查 vm100 快照
qemu-img snapshot -c snapshot01 vm100.qcow2 #snappshot01(快照名) test.qcow2(要快照的檔案)
qemu-img snapshot -a snapshot01 vm100.qcow2 #使用 -a snapshot-01 回復快照
qemu-img snapshot -d snapshot01 vm100.qcow2 #刪除 -d snapshot-01 刪除快照
‘snapshot’ is the name of the snapshot to create, apply or delete
‘-a’ applies a snapshot (revert disk to saved state)
‘-c’ creates a snapshot
‘-d’ deletes a snapshot
‘-l’ lists all snapshots in the given image
————————————————————-