I have a Linux server with KVM virtualitation, and a new Windows Server with Hyper-V virtualization.
I would like migrate my KVM images to the Windows Hyper-V...
How can is converting kvm image to hyper-v vhd?
You can do it with with qemu-img:
qemu-img convert -f raw -O vpc something.img something.vhd
or
qemu-img convert -f qcow2 -O vpc something.img something.vhd
Read this to get more info about supported virtual disk images formats.
There are inaccuracy in the question and in the answer. VHD is a image format for VirtualPC. There is VHDX format for Hyper-V. For migration to Hyper-V a right command will be for example:
qemu-img convert -f qcow2 something.img -O vhdx something.vhdx
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.