Moving Windows Server virtual machines from VirtualBox to kvm seems to have been relatively straightforward. Compatible interfaces helps. Moving the data is a simple matter of converting disk images from VirtualBox to raw and then writing the raw files to a ZVOL.
ideinterfaces for storage and Intel
e1000ginterfaces for networking.
VBoxManage clonehd <source>.vmdk <destination>.img --format raw
idefor the hard disk interface and
e1000gfor the networking interface, instead of
-disk0zvol is the right size for the image you want to write. If not, use
zfs setto fix it.
qemu-imgto write your
.imgfile to the zvol: ``` qemu-img convert \ -f raw \ -O host_device \ -o size=
When that’s finished, you should be able to fire up the new vm and pick right up where you left off.