singhspk
singhspk

Reputation: 2519

Export KVM VM to HyperV

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.

Upvotes: 1

Views: 5484

Answers (1)

singhspk
singhspk

Reputation: 2519

We found the image at the following location:

/var/lib/libvirt/images/<VM_NAME>.img

Upvotes: 2

Related Questions