Solution: VMware's 64-bit Linux system does not support full virtualization (VMX)
I. Prerequisites:
Cpu support Inter VT-X or AMD virtualization technology, For details refer to the official site description.
Ii. Problem description:
Under the physical machine, VMware Workstation can install 64-bit CentOS system, processor Inter i3 M390, and support Inter VT-X virtualization technology, physical machine BIOS has enabled Inter virtualization switch (find your own ), since the 64-bit system can be installed, it indicates that the virtualization switch is enabled in the BIOS of the physical machine.
Semi-Virtualization: pae
Full Virtualization: vmx (Inter), svm (AMD)
# Uname-r
2.6.32-358. el6.x86 _ 64
# Cat/proc/cpuinfo | grep flags
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat limit 36
Clflush dts mmx fxsr sse sse2 ss syscall nx rdtscp lm constant_tsc up arch_perfmon
Pebs bts xtopology tsc_reliable nonstop_tsc aperfmperf unfair_spinlock pni ssse3 cx16
Sse4_1 sse4_2 x2apic popcnt hypervisor lahf_lm arat dts
We can see that the system is a 64-bit CentOS, and only half virtualization is supported as pae, and there is no fully virtualized vmx.
Iii. Solution
To implement nested virtualization on workstation, You need to edit the vmx file of the Virtual Machine and add
Vhv. enable = "TRUE"
Find the Virtual Machine installation file with the. vmx suffix and add it.
Refer to the following section in KB (Additional Information)
Http://kb.vmware.com/kb/2034803
# Cat/proc/cpuinfo | grep flags
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
Pat limit 36 clflush dts mmx fxsr sse sse2 ss syscall nx rdtscp lm constant_tsc
Up arch_perfmon pebs bts xtopology tsc_reliable nonstop_tsc aperfmperf unfair_spinlock
Pni vmx ssse3 cx16 sse4_1 sse4_2 x2apic popcnt hypervisor lahf_lm arat dts tpr_shadow vnmi ept vpid
We can see that all Virtualization (vmx) is supported.
From this point we can see that the vcpu under vmware is not fully compatible with the cpu of the physical machine.
This article permanently updates the link address: