I have several VMs that I want to decommission, but feel like an open source “just in case we need it” VM dumped to a disk is a good idea. Mainly since we pay RAM-hours on our ESXi licensing and I have old servers lying around that I can install Ubuntu Server on for the KVM.
The primary thing to grab is the .vmdk and the -flat.vmdk file (the flat is the actual disk while the former is the header information about the disk).
Once grabbed, easy peasy:
qemu-img convert -f vmdk -O qcow2 source.vmdk destination.qcow2
note: you point it to the text file: vmdk not the huge -flat.vmdk.
Now create a new VM and pick this disk as primary. No issue moving/booting Windows or Linux machines. I do have an old RedHat 5 machine that won’t boot (kernel panic) but that is a problem for another day.