virtualbox and kvm sideways

31 Oct 2011

The above image contain a common error persons have whenever they try to use VirtualBox and KVM at the same time. Some forum posts suggest uninstalling kvm, however it’s quite simple to keep both solutions installed sideways.

In Ubuntu, everytime VirtualBox is going to be used, KVM kernel modules should be disabled:

$ sudo service qemu-kvm stop && sudo service vboxdrv start

And viceversa:

$ sudo service vboxdrv stop && sudo service qemu-kvm

For other distributions, rmmod/modprobe/lsmod can do the job 😉