We have a VM running on CentOS KVM that we want to export to MS Hyper V.
We saw the instructions to export the image here: https://blogs.msdn.microsoft.com/virtual_pc_guy/2015/06/22/handy-tool-for-converting-kvm-vmware-images-to-hyper-v/
Using qemu-img, we can convert the image as following:
qemu-img convert -f qcow2 “SourceDisk.img” -O vhdx -o subformat=dynamic “Destination.vhdx”
However, we're not sure how to create the SourceDisk.img from running VM.
We found the image at the following location:
/var/lib/libvirt/images/<VM_NAME>.img