1. Converted to .VHD using Disk2VHD
2. Converted to .img using DD
3. qvm-create --hvm --root-move-from=/path_to .img
It didn't even start, can't detect hdd. The same procedure works in Virtualbox and KVM. The .img is about 50G while the physical disk where w7 is installed is 250G but only about 75G is used. The Qubes disk is 250G. I thought Xen would be able to auto set it to 50G dynamically expandable, same way other hypervisors do it. Is there a setting somewhere in the config files to enable the feature?
check the size with "du -h" ?
Depending on how you made the image depends on how you get the result, and DD will write the zeros out too, and not be expanding. (as far as I found out)
There are many p2v options out there. But the easiest way would be to plug in your HDD to the system, and then use parted (or gparted) to copy the partitions to the img file.