The following information is displayed: # qemu-img convert -p -f vmdk -O qcow2 centos6.9.vmdk centos6.9.qcow2 The part following -O (which must be in upper case) consists of the required format, source image file, and target image file.Īfter the conversion is complete, the target image file is displayed in the directory where the source image file is located.-p indicates the image conversion progress.Qemu-img convert -p -f vmdk -O qcow2 centos6.9.vmdk centos6.9.qcow2 Run the following command to convert the image file format from VMDK to QCOW2:.
If the qemu-img version information is contained in the command output, the installation is successful. If Path does not exist, add it and set its value to D:\Program Files\qemu.Ĭhoose Start > Run, enter cmd, and press Enter.