What should I do if VMware does not support full virtualization when installing 64-bit CentOS?

  

VMware Workstation is a desktop virtual machine software that allows multiple operating systems to run inside a virtual machine, but when VMware Workstation encounters a problem that does not support full virtualization when installing a 64-bit CentOS system, How to solve it?

First, the premise:

cpu support Inter VT-X or AMD virtualization technology, with particular reference to the official website explained.

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, physical machine BIOS The Inter virtualization switch has been turned on (you can find it yourself). Since the 64-bit system can be installed, the virtualized switch in the physical machine BIOS is turned on.

Paravirtualization is pae

Fully virtualized to vmx(Inter), svm(AMD)

The code is as follows:

# uname -r< Br>

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

It can be seen that the system is 64-bit CentOS and only supports paravirtualization as pae. Not fully virtualized vmx

Third, the solution

To implement nested virtualization on the workstation, you need to edit the vmx file of the virtual machine, add

vhv.enable = &ldquo ;TRUE”

Locate the virtual machine installation file with the .vmx suffix and add it.

The reference KB is as follows (Additional Information section)

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 (vmx) is already supported It is.

From this point, it can be seen that the vcpu under vmware is not fully compatible with the physical machine cpu.

The above is the introduction of VMware Workstation installation 64-bit CentOS system does not support full virtualization method, using this method can solve this problem perfectly, fully virtualized to vmx, need to change pae to vmx, you learn Yet?

Copyright © Windows knowledge All Rights Reserved