System Management
A team is migrating a guest from VMware to KVM. They have a disk image named app.vmdk and want a qcow2 copy named app.qcow2 that KVM can use, with the original file left in place. Which command does this?
Show the answer
Correct answerD. qemu-img convert -f vmdk -O qcow2 app.vmdk app.qcow2
qemu-img convert reads the source format given by -f and writes a new image in the format given by -O, leaving the source untouched. The reversed command is tempting, but it would treat the VMDK as qcow2 and write VMDK output.