Friday, March 19, 2010

Running KVM and VMware Server in the same machine

After enabling virtualization in the BIOS, I can't start a VMware VM anymore, as I received the following message:

Error while powering on: Failed to initialize monitor device.

To fix this problem, I had the unload the kvm modules:

sudo rmmod kvm_intel
sudo rmmod kvm

After that, I can load a VMware VM. Then, the KVM doesn't work, as you can test by running the following command:



eduardo@eduardo-laptop:~$ kvm-ok
INFO: Your CPU supports KVM extensions
INFO: /dev/kvm does not exist
HINT: sudo modprobe kvm
KVM acceleration can NOT be used

The fix is right there: run sudo modprobe kvm, then everybody is happy!

Maybe not. After loading the kvm module, the VMware VM just dies. I guess there is no harmony between KVM and VMware. Any ideas?