VMware Workstation is a desktop virtual computer software that allows multiple operating systems to run inside a single virtual machine, but what if VMware Workstation encounters a problem that does not support full virtualization when it installs 64-bit CentOS systems?
First, the premise:
CPU support Inter vt-x or AMD virtualization technology, specific reference to the official website description.
Second, the 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, the physical machine BIOS has opened the Inter virtualization switch (find yourself), since the installation of 64-bit system, Indicates that the virtualization switch is turned on in the physical machine BIOS.
Semi-virtualization to PAE
Full virtualization to VMX (Inter), SVM (AMD)
The code is as follows:
# 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 PSE36
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
You can see that the system is 64-bit CentOS, only half virtualized to PAE, no full virtualization VMX
Iii. Solutions
To implement nested virtualization on workstation, you need to edit the VMX file for the virtual machine and add
vhv.enable = "TRUE"
Locate the virtual machine installation file with the. vmx suffix and add it.
Reference KB is as follows (Additional information part)
The code is as follows:
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 PSE36 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
As you can see, full virtualization has been supported (VMX).
It can be seen from this that VMware's vcpu is not fully compatible with the physical machine CPU.
Above is the VMware Workstation installation 64-bit CentOS system does not support the full virtualization method introduced, the use of this method can be a perfect solution to the problem, full virtualization into the VMX, the PAE should be changed to VMX, you have learned?