LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-06-2009, 12:43 PM   #1
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,551
Blog Entries: 28

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
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 )

Best

Charles
 
Old 09-06-2009, 01:51 PM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,313

Rep: Reputation: 139Reputation: 139
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.
 
Old 09-07-2009, 06:14 AM   #3
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,551
Blog Entries: 28

Original Poster
Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
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
 
Old 09-07-2009, 07:49 AM   #4
scottro11
Member
 
Registered: Jun 2009
Location: NYC
Posts: 257

Rep: Reputation: 58
I can vouch for that. Both can be on the same machine without a problem.
 
  


Reply

Tags
bridging, kernel, kvm, module, virtualbox


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
kvm - theoretically installed, but missing /dev/kdm Valkyrie_of_valhalla Linux - Kernel 8 02-21-2010 12:13 PM
Pre-Installed Calculate Linux 9.7 in VirtualBox 3.0 VirtualBoxImages.com Calculate 2 10-16-2009 05:50 AM
Using pre-installed copy of Windows Vista as a Virtualbox guest from Linux host jrtayloriv Linux - Software 6 08-17-2009 09:42 AM
Installed Virtualbox OSE in Slackware 12.2, but not able to run or setup network. pcsmasher Slackware 3 07-01-2009 02:07 AM
KVM problems again vinyl1 Linux - Hardware 3 01-11-2006 09:59 AM


All times are GMT -5. The time now is 07:48 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration