Can someone say few words about kvm & virtualbox?

Discussions related to using VirtualBox on Linux hosts.
Post Reply
axet
Volunteer
Posts: 93
Joined: 3. Sep 2007, 23:20

Can someone say few words about kvm & virtualbox?

Post by axet »

Why they do not work together?
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Post by TerryE »

They clash over the Ring 0 to Ring 1 co-opting. Both VMMs assume full access to the Host facilities.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
sej7278
Volunteer
Posts: 1003
Joined: 5. Sep 2008, 14:40
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Solaris, Linux, Windows, OS/2, MacOSX, FreeBSD
Contact:

Post by sej7278 »

vm solutions obviously don't work well together however you should be able to have kvm and virtualbox or vmware installed together, you'd just have to kill off their kernel modules before switching from one to the other.

xen is different, as you have to have a special kernel for it (not just a module) nothing else will run or even install with it installed.
gewe
Posts: 37
Joined: 8. Jan 2008, 20:36

Post by gewe »

Vmware server and VirtualBox can work very well together, no need to do anything special. You can have VMware vm's and VirtualBox vm's running at the same time (as I have done frequently during migration from VMware to VirtualBox).
sandervl
Volunteer
Posts: 1064
Joined: 10. May 2007, 10:27
Primary OS: MS Windows Vista
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux, Solaris

Post by sandervl »

KVM needs VT-x or AMD-V. VT-x can not coexist with software virtualization solutions on 64 bits hosts (with 32 bits guests).

The other part is that KVM takes ownership of VT-x and AMD-V once its kernel driver is active (you don't even need to use the product). That prevents other software from using VT-x or AMD-V.
Post Reply