1

I want to understand how to use KVM in CenTOS. At the moment, all I have is a VMWare ESX 5.x server to use. Is there a way to get KVM working on a system that is running on VMWare? Essentially, a nested install?

This will not be used for production purposes, only testing/learning.

3
  • 1
    Yes it is possible, you have to enable nested virtualisation - virtuallyghetto.com/2012/08/… Jan 28, 2013 at 0:45
  • @Urlich: Please convert the comment to an answer.
    – pilona
    Oct 26, 2013 at 17:54
  • @Mike B: "install" is misleading most of the time. KVM is just a facility offered by the kernel (accessed through the character device at /dev/kvm). CentOS should have the kernel module in the kernel package by default (though it could also be compiled-in). What you install is the hypervisor that makes use of KVM (e.g., QEMU).
    – pilona
    Oct 26, 2013 at 18:10

1 Answer 1

3

To allow KVM to function inside a VM do the following;

In esxi 5.5 add the following line to your VM to enable nested virtualization;

hypervisor.cpuid.v0 = "FALSE"

Steps: go to "edit settings" ---->"options"---->"Advanced"---> "General"--->"Configuration Parameters"---->"configuration button, select add row and add the new parameter. hypervisor.cpuid.v0 = "FALSE"

1
  • Any chance that something similar could be done on VMware Workstation (12 pro) as well ?
    – bdutta74
    Sep 10, 2017 at 20:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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