Examples (7)
Create disk image with a specific size (in gigabytes)
qemu-img create path/to/image_file.img gigabytesGDump the allocation state of every sector of the specified disk image
qemu-img map path/to/image_file.imgConvert a VMware `.vmdk` disk image to a KVM `.qcow2` disk image and display [p]rogress
[c]reate an internal snapshot of a KVM `.qcow2` disk image
qemu-img snapshot -c snapshot_tag_name path/to/image_file.qcow2[a]pply an internal snapshot to a KVM `.qcow2` disk image
qemu-img snapshot -a snapshot_tag_name path/to/image_file.qcow2made by @shridhargupta | data from tldr-pages