-   Linux - Software (
-   -   VirtualBox and KVM installed at the same time - any problems? (

catkin 09-06-2009 01:43 PM

VirtualBox and KVM installed at the same time - any problems?
Hello :)

Futher to the Virtual Machines thread, it sounds as if KVM might be a better choice that the somewhat buggy VirtualBox 3.x. I would like to try KVM without removing VirtualBox which is in frequent use.

I understand it is not advisable to have kernel modules for both products loaded at the same time so clearly both cannot be run at the same time.

I understand KVM needs NIC bridging on the host if the virtual machines are to have IP addresses on the LAN, as opposed to being NATted behind the host. Currently I use VirtualBox 3.x to provide bridging on the host (I used to have tap and tun on the host, until just after installing VirtualBox 3.x). Is this another area, besides kernel modules, where special measures will be required when setting up to run KVM or VirtualBox?

The host is ubuntu 8.04.3 (and -- for all you Slackwarians -- I'm planning to load Slackware 13 in one of the KVM guests, preparatory to installing it on real hardware :eek:)



kilgoretrout 09-06-2009 02:51 PM

VirtualBox will not run if the kvm modules are loaded on my box. In fact, it spits out an error message telling me to remove the kvm modules and recompile my kernel. No need to resort to anything that drastic. Simply unloading the kvm modules with:

# modprobe -r kvm_intel

does the trick.

catkin 09-07-2009 07:14 AM

Thanks kilgoretrout :)

Good too learn that somebody is using both and that simply loading and unloading the appropriate kernel modules does the trick.



scottro11 09-07-2009 08:49 AM

I can vouch for that. Both can be on the same machine without a problem.

All times are GMT -5. The time now is 05:29 PM.