Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to solve the problem that 64-bit linux system does not support full virtualization under VMware

Shulou Source: shulou.com Published: 2022-06-01 07:34:25 10月23日 Update

This article mainly explains "how to solve the problem that 64-bit linux systems under VMware do not support full virtualization". The content of the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "how to solve the problem that 64-bit linux systems under VMware do not support full virtualization".

First, the premise:

Cpu supports Inter VT-X or AMD virtualization technology. For more information, please see the official website.

Second, problem description:

Under the physical machine, VMware Workstation can install 64-bit CentOS system, processor Inter i3 M390, and supports Inter VT-X virtualization technology. Inter virtualization switch has been turned on in physical machine BIOS (look for it yourself). Since 64-bit system can be installed, it means that the switch for supporting virtualization in physical machine BIOS has been turned on.

Semi-virtual to pae

Fully virtualized 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, which only supports semi-virtualization to pae, and no fully virtualized vmx

III. Solutions

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

Vhv.enable = "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.

Thank you for your reading. The above is the content of "how to solve the problem that 64-bit linux systems under VMware do not support full virtualization". After the study of this article, I believe you have a deeper understanding of how to solve the problem that 64-bit linux systems under VMware do not support full virtualization. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Tags: Support systems problems physics learning code content technology files references premises methods suffixes processors that is ideas situations articles more knowledge Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia vpn Apple Linux Shulou Information