Monday, November 26, 2012

QEMU/KVM nested inside ESXi 5.0

Just a note to self, based on the success from the info found at (Which has a much more detailed description - so, if unsure, go and read there!)

1) ESXi 5.0 has the nested virtualization support but it is disabled by default.

SSH into the ESXi host and add the following line to /etc/vmware/config:

vhv.allow = TRUE

2) The guest config also needs edits to enable the nested virtualization. Add the below lines to the .vmx file:

monitor.virtual_mmu = "hardware"
monitor.virtual_exec = "hardware"
vcpu.hotadd = FALSE

After that the kvm-ok should be happy.

No comments: