Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have two process which are running on different VM's(VMware and KVM).Now I wants both the processes to be run on a single host.Will it work if i use both VMware and KVM in a single host?

Thanks Surya

share|improve this question

in short - NO. Both platforms use their own kmod to manage the VT extensions, and the module requires exclusiveness.

share|improve this answer

You can install as many hypervisors (VirtualBox, KVM, VMware Player/Workstation, ...) as you like on the same machine, however if they use hardware acceleration (known as VT-x on Intel chips) then you can only run VMs on one of them at a time. Otherwise, the kernel modules they install will interfere with each other as they try to respond to the same hardware virtualization VMEXIT events.

All the hypervisors listed do use VT-x, so you have to selectively disable the ones you're not using so they don't interfere with the one you're currently running VMs inside of. Here are the commands that you can use to disable/enable each of the popular Linux hypervisors' kernel modules (tested on Ubuntu 14.04):

VMware

# to disable
sudo /etc/init.d/vmware stop
# to enable
sudo /etc/init.d/vmware start

VirtualBox

# to disable
sudo /etc/init.d/virtualbox stop
# to enable
sudo /etc/init.d/virtualbox start

KVM

# to disable
sudo rmmod kvm_intel
sudo rmmod kvm
# to enable
sudo insmod /lib/modules/`uname -r`/kernel/arch/x86/kvm/kvm.ko
sudo insmod /lib/modules/`uname -r`/kernel/arch/x86/kvm/kvm-intel.ko
share|improve this answer

Your question lacks detail and thought. The amount of useful information you get out of a site like this will usually scale with the amount of work you put in to describing your problem.

To answer the question you have asked: no. Virtual Machine hosts are exclusive, like operating systems. You can, with some VM systems, run one inside another, but that way madness lies.

The sane approach is this: pick one VM system, run both VM guests inside it. There are tools to convert KVM disk images to VMware and vice versa.

share|improve this answer
2  
Why write an answer if you do not want to help? Question was absolutely clear: OP wants run kvm and vmware(player) concurrently on single host. I have right now kvm running Fedora and vmware player v5 running windows 7, so the answer is - qualified - yes (virtualbox seems to conflict with kvm though). If I get a little more reputation here I will downvote this answer. – P Marecki Jun 3 '15 at 8:16

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.