There's lots of info on the net on achieving that, but I found it a bit too scattered, and had to combine instructions from multiple sources.
I'm not certain it's the right way, but it worked™. So I'll share, and get your feedback in case I've done anything stupid:
- Convert VMDKs (VM's disk), even when having multiple files, to qcow2 format (note: QVM/QEMU should be able to deal with vmdk files (multiple as well?), so possibly this step is redundant):
1# qemu-img convert <vmdk wildcard> <qcow2 file>
- Convert the vmx (VM's settings) to xml (requires vmware2libvirt tool found in virt-goodies package)
1# vmware2libvirt -f <source.vmx> > target.xml