Linux – Using KVM and VirtualBox VMs concurrently

kvm-virtualizationlinuxvirtualbox

I am considering moving several of my virtual machines to a single Linux system for a variety of reasons. The problem is that most VMs are KVM-based, but there are a few VirtualBox VMs as well.

I have found several posts (1, 2, 3, 4) that seem to boil down to this: It is not possible to use VirtualBox when the KVM modules are loaded. Therefore it is not possible to have both VirtualBox and KVM VMs active on the same host.

Considering that virtualization on Linux is developing at a fast pace, is this still the definitive word on this issue? Are there any workarounds? If not, is the ability to run multiple hypervisors somewhere in the roadmap?

PS1: I do not consider rmmod kvm to be a real workaround…

PS2: …nor using either QEMU/KVM or VirtualBox in software emulation mode.

Best Answer

I doubt this will ever be possible, and it doesn't make any sense to have two virtualization systems compete over resources and control of the VT-X extension.

Even if this would work, I guess performance would be terrible.


Edit: It appears I am wrong and this is indeed possible at least in some cases. As this is a site for professional system administration, this is NOT a recommended mode of operation.

Related Topic