Friday, June 4, 2010

QEMU-IMG

the qemu-img command for creating and manipulating disc images.


Creating an image

qemu-img create -f qcow2 your_image_name.qcow2 50GB

 will create a new blank image with 50GB in the qcow2 format.


also the qemu-img program can be used to convert images from one format to another. or add compression or encryption to an image.

convert an image

qemu-img convert -O qcow2 test.vmdk testqcow2


get information about an image

qemu-img info your_image

No comments: