qemu-img create -f raw test.raw 20G
qemu-img create -f qcow2 test.qcow2 20G
qemu-img create -f qcow2 -o cluster_size=2M,backing_file=test.raw test.qcow2 20G
qemu-img create -f qcow2 -o cluster_size=2M,backing_file=test.raw test.qcow2 20G
创建/恢复/删除快照:
qemu-img snapshot -c/-a/-d <snapshot_name> <path>
查看快照:
qemu-img snapshot -l <path>