Convert VirtualBox VM to KVM

Jim O'Halloran • July 8, 2015

linux-and-open-source

This post outlines the procedure to convert a (Linux) vm from VirtualBox to KVM. Preferably VMs would be built on KVM directly, but this is the process used to migrate a VM built prior to standing up KVM infrastructure into KVM. Much was learned during this process which I wanted to capture before it fades from memory.

UPDATE 31/7/2021: These instructions were accurate at the time of writing in 2015, but I haven't had need of this process recently and can't vouch for their accuracy in 2021.

On the Virtualbox host:

On the KVM server:

And you're done!