LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   VirtualBox and KVM installed at the same time - any problems? (http://www.linuxquestions.org/questions/linux-software-2/virtualbox-and-kvm-installed-at-the-same-time-any-problems-753104/)

catkin 09-06-2009 12: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:)

Best

Charles

kilgoretrout 09-06-2009 01: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 06: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.

Best

Charles

scottro11 09-07-2009 07: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 03:05 PM.