Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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.

share|improve this question
1  
Yes it is possible, you have to enable nested virtualisation - virtuallyghetto.com/2012/08/… –  Ulrich Dangel Jan 28 '13 at 0:45
    
@Urlich: Please convert the comment to an answer. –  pilona Oct 26 '13 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 '13 at 18:10

1 Answer 1

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"

share|improve this answer

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.