VHD images generated by qemu-img are not accepted by Hyper-V
Issue
We create VHD images with:
qemu-img create -f raw test.raw 1G
qemu-img convert -O vpc test.raw test.vhd
The resulting image cannot be mounted under Hyper-V:
Mount-VHD test.vhd
gives the error:
The file or directory is corrupted and unreadable. (0x80070570).
Environment
- Red Hat Enterprise Linux 6
qemu-img
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
