Turn on vsphere's SSH telnet service or
Reference:
https://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=2075199
Step Two: Modify the configuration
Shutting down a virtual machine
Log in to the ESXi Shell
Find a virtual machine configuration file
[[Email protected]:~] Find/-name *.VMX
/vmfs/volumes/570794cb-7a2de328-398b-000c294ee9b7/centos7/centos7.vmx
Modify the configuration file (add vhv.enable = "TRUE" on the last line of the configuration file)
Note You cannot have a blank line
sed-i ' $ a\vhv.enable = "TRUE" '/vmfs/volumes/570794cb-7a2de328-398b-000c294ee9b7/centos7/centos7.vmx
Step Three: Verify
Start a virtual machine
Logon Virtual machine authentication:
[Email protected] ~]#egrep ' (VMX|SVM) '/proc/cpuinfo
FLAGS:FPU VME de PSE TSC MSR PAE MCE cx8 APIC Sep MTRR PGE MCA cmov Pat PSE36 clflush DTS MMX fxsr SSE SSE2 SS Syscall NX PDPE1GB rdtscp lm constant_tsc Arch_perfmon pebs BTS nopl xtopology tsc_reliable nonstop_tsc aperfmperf eagerfpu PNI PCLM ULQDQ vmx ssse3 FMA cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer AES Xsave AVX f16c Rdrand hypervisor LA Hf_lm ABM Ida Arat EPB PLN pts dtherm Tpr_shadow vnmi ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 invpcid xsaveopt
At this point, the nested virtualization configuration is complete.
Resources:
VMware ESXi Open Virtualization nested graphics tutorial
http://blog.51cto.com/7385147/1891513
Installing ESXi in VMware Fusion
https://kb.vmware.com/s/article/2074552
Unable to perform modprobe-a Kvm-intel solution
Http://www.hanbaoying.com/2015/03/03/vmware virtual Machine cannot perform Modprobe-a-kvm-intel resolution. html
RHEL7.0 Installing a KVM virtual machine using Virt-manager
53231795
VMware ESXi 5.1 turns on nested virtualization