I set up a new KVM-QEMU hypervisor on an unused Alienware laptop from work. Until I can get my hands on a machine with more oompf I have this – it’s a Pentium i7 with 32 GB of RAM. 512GB SSD too …
So anyway I’ve had a mail and web server running on Virtualbox on my work-from-home workstation for quite some time (ironically it had been converted to vdi from raw that was running on a previous KVM hypervisor) and now it was time to send this vm back to KVM.
Converting the image back turned out to be much easier than I thought it would have been.
qemu-img convert -f vdi -O qcow2 vm.vdi vm.qcow2
was all it took. I then set up the vm as a new using an imported image. Voila!
(this site is hosted on that vm btw)