Icon Fame Journal.

Juicy entertainment chatter with tabloid flavor.

updates

Linux tip how to tell if your processor supports vt

By Christopher Ramos

H ow do I find out if my system support Intel – VT / AMD -V hardware virtualization extensions for host CPU using the command line options? How do I check if my Linux hardware from HP/IBM/Dell supports virtualization?

Both Intel and AMD CPU support virtualization technology which allows multiple operating systems to run simultaneously on an x86 server or computer in a safe and efficient manner using hardware virtualization. XEN, KVM, Vmware and other virtualization software can use Intel and AMD hardware virtualization for full virtualization. In other words with Intel VT, or AMD-V you can run an unmodified guest OS, like MS-Windows without any problems. To run KVM, you need a CPU that supports hardware virtualization.[donotprint]

Tutorial details
Difficulty levelEasy
Root privilegesNo
RequirementsIntel/AMD x86 server
Est. reading time2m

[/donotprint]

Say hello to /proc/cpuinfo file

The /proc/cpuinfo file has information about your CPU. The information includes, the number of CPUs, threads, cores, sockets, and Non-Uniform Memory Access (NUMA) nodes. There is also formation about the CPU caches and cache sharing, family, model, bogoMIPS, byte order, and stepping. You need to note down the following vendor specific cpu flags:

Am I using 64 bit CPU/system [x86_64/AMD64/Intel64]?

  1. lm – If you see lm flag means you’ve 64 bit Intel or AMD cpu.

Do I have hardware virtualization support?

  1. vmx – Intel VT-x, virtualization support enabled in BIOS.
  2. svm – AMD SVM,virtualization enabled in BIOS.

Do I have hardware AES/AES-NI advanced encryption support?

  1. aes – Applications performing encryption and decryption using the Advanced Encryption Standard on Intel and AMD cpus.

Commands to check if your hardware supports virtualization

Use the following commands to verify if hardware virtualization extensions is enabled or not in your BIOS.

Verify Intel VT CPU virtualization extensions on a Linux

Type the following command as root to verify that host cpu has support for Intel VT technology, enter:
# grep –color vmx /proc/cpuinfo
Sample outputs:

Fig.01: Linux check Intel VT – if my server can run full virtualization or not

Verify AMD V CPU virtualization extensions on a Linux

Type the following command as root to verify that host cpu has support for AMD – V technology:
# grep –color svm /proc/cpuinfo

Linux lscpu command to find Virtualization AMD-V support

Verify Intel or AMD 64 bit CPU

Type the following grep command:
grep -w -o lm /proc/cpuinfo | uniq
See our tutorial “Find If Processor (CPU) is 64 bit / 32 bit on a Linux” for more info.

lscpu command

The lscpu command shows CPU architecture information on a Linux server:
lscpu
Sample outputs from Intel server:

Fig.02: lscpu command on a Linux server to find out Virtualization support

Putting it all together

Type the following egrep command:

Fig.03: Finding Intel virtualization, encryption and 64 bit cpu in a single command

Additional Intel x86 CPU specific virtualization flags

  1. ept – Intel extended page table support enabled to make emulation of guest page tables faster.
  2. vpid – Intel virtual processor ID. Make expensive TLB flushes unnecessary when context switching between guests.
  3. tpr_shadow and flexpriority – Intel feature that reduces calls into the hypervisor when accessing the Task Priority Register, which helps when running certain types of SMP guests.
  4. vnmi – Intel Virtual NMI helps with selected interrupt events in guests.

Additional AMD x86 CPU specific virtualization flags

  1. npt – AMD Nested Page Tables, similar to Intel EPT.
  2. lbrv – AMD LBR Virtualization support.
  3. svm_lock – AMD SVM locking MSR.
  4. nrip_save – AMD SVM next_rip save.
  5. tsc_scale – AMD TSC scaling support.
  6. vmcb_clean – AMD VMCB clean bits support.
  7. flushbyasid – AMD flush-by-ASID support.
  8. decodeassists – AMD Decode Assists support.
  9. pausefilter – AMD filtered pause intercept.
  10. pfthreshold – AMD pause filter threshold.

Some tips to solve your problems.

Tip #1: See Linux kernel messages

Type the following command to see kvm support enabled or not in BIOS:
# dmesg | less
# dmesg | grep -i kvm

Tip # 2: Check your BIOS settings

By default, many system manufacturers disables an AMD or Intel hardware CPU virtualization technology in the BIOS. You need to reboot the system and turn it in the BIOS. Once turned on, run lscpu or grep command as discussed earlier to see if your virtualization support enabled:
$ lscpu
$ egrep -wo ‘vmx|ept|vpid|npt|tpr_shadow|flexpriority|vnmi|lm|aes’ /proc/cpuinfo | sort | uniq
$ egrep -o ‘(vmx|svm)’ /proc/cpuinfo | sort | uniq
Sampple outputs:

Tip # 3: XEN Kernel

By default, if you booted into XEN kernel it will not display svm or vmx flag using the grep command. To see if it is enabled or not from xen, enter:
cat /sys/hypervisor/properties/capabilities
You must see hvm flags in the output. If not reboot the box and set Virtualization in the BIOS.

References
  • The Linux kernel source/header file located at /usr/src/kernels/$(uname -r)/arch/x86/include/asm/cpufeature.h (or click here to see cpufeature.h online)
  • Man pages – proc(5)

🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.

🐧 24 comments so far. add one

We already knew how to check if a Linux OS is 32 bit or 64 bit and how to find if a Linux system is physical or virtual machine. Today, we are going to learn yet another useful topic i.e. how to find if a CPU supports virtualization technology (VT) or not. This should be the first thing you might want to verify before installing virtualization applications such as KVM or VirtualBox or VMWare workstation to run virtual machines on your Linux system. Now let us go and find out if our computer supports VT or not.

Find If A CPU Supports Virtualization Technology (VT) In Linux

We can check if our CPU supports VT in various methods. Here I’ve listed four methods.

Method 1: Using “egrep” command

Egrep is one of the variant of Grep command line utility which is used to search text files with regular expressions.

To find out if your CPU supports VT using egrep command, run:

This command will grep /cpu/procinfo/ file and display if the CPU supports VT or not.

Sample output:

You will get either “vmx” (Intel-VT technology) or “svm” (AMD-V support) in the output.

Since the output is very long, it might be bit hard to find the words “vmx” or “svm”. No worries! You can distinguish those terms with colors like below.

Sample output:

Linux tip how to tell if your processor supports vt

Find if a CPU supports virtualization using egrep command in Linux

If you don’t get any output, it means that your system doesn’t support virtualization.

Please note that these CPU flags (vmx or svm) in the /proc/cpuinfo file indicates that your system will support VT. In some CPU models, the VT support might be disabled in the BIOS, by default. In such cases, you should check your BIOS settings to enable VT support.

Method 2 – Using “lscpu” command

The “lscpu” command is used to display the information about your CPU architecture. It gathers information from sysfs, /proc/cpuinfo file and displays the number of CPUs, threads, cores, sockets, and Non-Uniform Memory Access (NUMA) nodes of your host system.

To find out if the VT support is enabled or not, simply run:

Linux tip how to tell if your processor supports vt

Find if a CPU supports virtualization using lscpu command in Linux

Method 3 – Using “Cpu-checker” utility

Cpu-checker is yet another useful utility to test your CPU for virtualization support. As far as I searched on the web, this utility is available only for Ubuntu-based systems. To install it, run:

Once cpu-checker package is installed, run the following command to check whether VT support is enable or not:

If your CPU supports VT, you will get the following output:

Find if a CPU supports virtualization using cpu-checker

If your CPU doesn’t support VT, you will see an output something like below.

Method 4 – Using “virt-host-validate ” tool

This tool is specifically for RHEL based distros like CentOS and Scientific Linux. The libvirt-client package provides virt-host-validate binary. So you need to install “libvert-client” package to use this tool.

Now, run “virt-host-validate” command to find if VT is enabled or not in your RHEL-based systems.

If you get pass for all results, your system supports VT.

If your system doesn’t support VT, you will see an output like below.

And, that’s all for now. In this guide, we have discussed various methods to find if a CPU supports VT or not. As you can see, it was very easy. Hope this was useful.

In computing, virtualization can mean a number of things. The most common definition defines it as creating a virtual version of something on a computer, for instance a virtual operating system that runs on a PC.

When Microsoft launched Windows 7, it did not want to make the same mistake it did when it launched Windows Vista. To avoid the majority of compatibility issues that went along with the upgrade, it created Windows XP Mode for professional versions of the operating system.

The virtual operating system emulated Windows XP on Windows 7, allowing companies and users to run software not compatible with Windows 7 but with XP to run on the newer operating system.

While XP Mode is no longer supported due to the retirement of the operating system, virtualization software such as Virtual PC, Virtual Box or VMWare Player are.

While those may not require hardware virtualization support to run, some may and others will run better if the processor supports virtualization.

Find out if your cpu supports it

Linux tip how to tell if your processor supports vt

There are quite a few options to find out if the cpu of your PC supports virtualization. If you know maker and model, you can look it up online right away but those information may not be available.

While you may know that your computer has an Intel or AMD processor, you may not know the cpu’s ID as they are usually cryptic.

The Intel Processor Identification Utility displays a variety of information about Intel cpus. Among the information are whether it supports virtualization or not. You need to switch to cpu technologies to find out about that. If you see “yes” listed there next to Intel Virtualization Technology then you can be certain that it supports hardware virtualization.

If AMD is the manufacturer of your computer’s cpu you need to download and run the AMD Virtualization Technology and Microsoft Hyper-V System Compatibility Check Utility instead which you can download from the manufacturer’s website.

Third-party tools

Linux tip how to tell if your processor supports vt

There are third-party applications that you can run instead. This may make sense for example if you do not know the manufacturer of the cpu.

Securable is a free program for Windows that you can run on your system to find out if hardware virtualization is supported or not. You can run the program right after download as it does not need to be installed.

It will display information about hardware virtualization, hardware D.E.P. and architecture support of the processor.

Another program that you can run right away after download is Microsoft’s Hardware-Assisted Virtualization Detection Tool. The program checks if the processor supports hardware virtualization (hav) and if the feature is enabled on the system.

Microsoft has designed the application to launch alongside Windows XP Mode. While XP Mode itself is no longer supported, it is still possible to use the program to find about about hardware virtualization support.

Linux tip how to tell if your processor supports vt

Virtual Checker detects virtualization support as well and will display to you whether it is enabled or not. The free program can be downloaded from this location.

Linux tip how to tell if your processor supports vt

As you can see, there are quite a few options to find out whether your cpu supports virtualization and whether it is enabled or not.

Manual check

As mentioned earlier, you may look up the processor online to find out about virtualization support. Unless you know the ID of the cpu already, you need to look it up first.

Lowell is the founder and CEO of How-To Geek. He’s been running the show since creating the site back in 2006. Over the last decade, Lowell has personally written more than 1000 articles which have been viewed by over 250 million people. Prior to starting How-To Geek, Lowell spent 15 years working in IT doing consulting, cybersecurity, database management, and programming work. Read more.

Virtualization Technology (VT) is a set of enhancements to newer processors that improve performance for running a virtual machine by offloading some of the work to the new cpu extensions. Both AMD and Intel have processors that support this technology, but how do you tell if your system can handle it?

It’s quite simple: We’ll need to take a peek inside the /proc/cpuinfo file and look at the flags section for one of two values, vmx or svm.

  • vmx – (intel)
  • svm – (amd)

You can use grep to quickly see if either value exists in the file by running the following command:

If your system supports VT, then you’ll see vmx or svm in the list of flags. My system has two processors, so there are two separate sections:

flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm

VT technology can still be disabled in your computer’s BIOS, however, so you’ll want to check there to make sure that it hasn’t been disabled. The flags in cpuinfo simply mean that your processor supports it.

From my research, VT is required in order to run 64-bit guests under the free VMware server for linux… so it would logically follow that if you can do so, VT is enabled.

32-bit VT is not enabled by default under VMware server. If you want to enable it, you need to add the following line to your *.vmx file for your virtual machine:

VMware does not recommend that you use VT for 32-bit guests, because they say it will actually hurt performance.

What is VT and why is it required?

The Virtualization Technology enables your processor to act as a number of independent computer systems. This enables several operating systems to be running on the same machine at the same time. Whenever you want to install virtualization applications on your Ubuntu system such as VMware Workstation, VirtualBox etc., you should first verify if your system supports virtualization and if it is enabled. Only then you can run virtual machines using a single processor.

The article explains the following methods to check if Virtual Technology is supported by your processor on a Ubuntu system:

  • lscpu command
  • cpu-checker utility
  • /proc/cpuinfo file
  • Libvirt client utility

We have run the commands and procedures mentioned in this article on a Ubuntu 18.04 LTS system. We will be using the Ubuntu command line, the Terminal, in order to verify VT on our processor. You can open the Terminal application either through the system Dash or the Ctrl+Alt+T shortcut.

Verifying VT on your processor

Method 1: Through the lscpu command

The lscpu command is a popular method to extract information about your CPU’s architecture. This command extracts hardware information from the /pro/cpuinfo file of sysfs. This information includes the number of processors, CPU operation mode, sockets, cores, threads, model name, and virtualization information, among much more.

Simply run the following command in your Ubuntu Terminal:

Here is the output format you usually see:

Linux tip how to tell if your processor supports vt

Navigate to the Virtualization output; the result VT-x here ensures that virtualization is indeed enabled on your system.

Method 2: Through the cpu-checker utility

The cpu-checker utility is another way to check virtualization technology, among many other things. Since most Ubuntu systems do not have this facility by default, you can install is by running the following command as sudo:

Please note that only an authorized user can add/remove and configure software on Ubuntu.

Linux tip how to tell if your processor supports vt

After you have entered the password for sudo, the system might prompt you with a y/n option to verify if you want to continue installation. Please enter y and hit Enter after which cpu-checker will be installed on your system

The following command from this utility will help you in verifying if virtualization is supported by your processor or not: Advertisement

The above output indicates that VT is enabled on your system. However, if you get the following output, it means that you need to enable virtualization to use applications that work on this technology:

INFO: Your CPU does not support KVM extensions
KVM acceleration can NOT be used

Method 3: From the /proc/cpuinfo file

We can also manually extract relevant information from the /proc/cpuinfo file by using the egrep command. For example, because we want to extract virtualization related information, we can use egrep command as follows to extract information related to either svm or vmx:

In the output you will see information about one of the following, that will verify that virtualization is enabled on your system:

Svm: AVM-V support information

Vmx: Intel-VT technology support information

This is the output of the above-mentioned command on my system:

Linux tip how to tell if your processor supports vt

The vmx indication and it’s information in the output indicates that the virtual technology, Intel-VT, is enabled and supported by my system. If you do not find any output for this command, this emans that the /proc/cpuinfo does not contain any information about VT and it is either unavailable or disabled from your BIOS settings.

Method 4: Through the Libvirt client utility

There is a virtual host validation tool called virt-host-validate. In order to use this, you need to have the libvert-clients package installed on your system. Since most Ubuntu systems do not have this facility by default, you can install is by running the following command as sudo:

Please note that only an authorized user can add/remove and configure software on Ubuntu.

Linux tip how to tell if your processor supports vt

After you have entered the password for sudo, the system might prompt you with a y/n option to verify if you want to continue installation. Please enter y and hit Enter after which cpu-checker will be installed on your system

The following virt-host-validate command from this utility will help you in verifying if virtualization is supported by your processor or not, among many other things:

Linux tip how to tell if your processor supports vt

You can see that the “QEMU: checking for hardware virtualization” shows the result status as PASS on my system. This indicates that VT is indeed enabled on my processor. If the result status is “FAIL” in anyone’s output, that indicates that virtualization is either not supported or else not enabled.

So now you have not one, but four very simple ways to verify if your hardware supports virtualization. This is the power of Linux, with just one command you can perform a seemingly complex task.

  • ← How to make VLC Player on Ubuntu look like the Windows Media Player
  • How to Install latest Ruby on Rails on Ubuntu 18.04 LTS →

Karim Buzdar

About the Author: Karim Buzdar holds a degree in telecommunication engineering and holds several sysadmin certifications. As an IT engineer and technical author, he writes for various web sites. You can reach Karim on LinkedIn

What is VT?

VT, also called Virtualization technology, is a technology that provides the ability to run multiple, isolated operating systems on a single piece of server hardware allowing a much higher level of resource utilization.

Why do you need to enable VT?

Virtualization technology could improve the performance of your computer and allow NoxPlayer to run more smoothly and faster.

How to check if you have enabled VT?

First Method:

Check the red question mark-“ ” in the upper left corner of the emulator directly, If you see this mark, it means that you didn’t enable VT.

Second Method:

Check your system information, the emulator will automatically check if your computer enables VT.

Linux tip how to tell if your processor supports vt

Third Method

Use a tool called: LeoMoon CPU-V. It does not only detect if your CPU supports Hardware Virtualization, but also Detect if Hardware Virtualization is Enabled in BIOS.

Linux tip how to tell if your processor supports vt

If your check result shows a green check under VT-x Supported , it means your computer supports virtualization. If it’s a red cross, then your computer does not support VT , but you could still install Nox as long as you meet the installation requirements.

If your check result shows a green check under VT-x Enabled , then it means VT is already enabled in your BIOS. If it’s a red cross, then follow the following steps to enable it.

How to enable VT?

1. Check your system information int the emulator and Find out your BIOS type

Linux tip how to tell if your processor supports vt

2. Enter the BIOS interface: Press the shortcut Delete/ F12 continuously while booting the computer.

Special computer model reference:

Laptop: Lenovo THINKPAD press F1, others press F2
Desktop: DELL press ESC, others press F12

3. Enable VT

  • Find the corresponding VT option on the BIOS page. (Mostly called Virtual or Virtualization, in some cases VT-X or SVM)
  • Click ->

(CPU)-> Virtual or Virtualization, for some computers, VT are included in Configuration or Security.

  • Set the VT option to Enabled.
  • Press Save (usually F10) to save and exit (Save & Exit).
  • Note 1: If you are running Windows 8 or Windows 10, there might be conflicts between VT and Microsoft Hyper-V technology. Please turn Hyper-V off following these steps: go to Control Panel->Programs and Features->Turn Windows features on or off->un-tick the box before Hyper-V.

    Linux tip how to tell if your processor supports vt

    Linux tip how to tell if your processor supports vt

    Note 2: If your VT is enabled in BIOS, but the LeMoon check result still shows a red cross under VT-x Enabled, it’s highly possible that your anti-virus software has blocked this function. Taking Avast! for example, to fix this problem:

    1) Open Avast anti-virus >> Settings >> Troubleshooting

    2) Uncheck the Enable hardware-assisted virtualization, then reboot your computer

    Linux tip how to tell if your processor supports vt

    Here’s a short video tutorial, check it out:

    Content Type Compatibility

    Article ID 000005486

    Last Reviewed 01/25/2020

    Intel® Virtualization Technology abstracts hardware that allows multiple workloads to share a common set of resources. On shared virtualized hardware, a variety of workloads can co-locate while maintaining full isolation from each other, freely migrate across infrastructures, and scale as needed.

    Intel® Virtualization Technology requires a computer system with the following elements. Contact your vendor for more information.

    • A processor
    • Chipset
    • BIOS
    • Operating system
    • Device drivers

    To find out if your Intel® processor supports Intel® Virtualization Technology, use one of the options below:

    Q: How can check if my Intel processor supports Intel® Virtualization Technology (VT-x) ?

    1. Identify your Intel® processor. Refer to How to Identify My Intel® Processor?
      • Press the Windows key and the letter S at the same time.
      • Type system Information.
      • Also, you can click the Windows Key , and start typing System Information.
      • Make note of your processor number, located under Processor.
    2. Visit the product specification site (ark.intel.com). Enter the number of the processor in the search box located on the right side.
    3. In the processor product page, and under Advanced Technologies, check to see if Intel® Virtualization Technology (VT-x) is supported.

    Using Intel® Core™ i7-8700K processor as an example:

    • Enter the number of the processors in the search box.
    • On the specification page for the processors, and under Advanced Technologies, look for the Intel® Virtualization Technology (VT-x) field.

    Linux tip how to tell if your processor supports vt

    Q: How do I enable or disable Intel® Virtualization Technology (VT-x)?

    With a VT-x supported Intel® Processor and a VT-x supported BIOS, VT-x can be enabled or disabled in BIOS. Refer to your motherboard vendor for exact instructions if option is not available in BIOS.

    Q: My processor supports Intel® Virtualization Technology (VT-x) but I am unable to enable it in the BIOS.

    If the processor supports VT-x but the option to enable or disabled in BIOS is available, contact your motherboard vendor to see how to get that option enabled.

    Q: How can I tell if Intel® Virtualization Technology (VT-x) is enabled or disabled in my system?

    You can use the Intel® Processor Identification Utility to verify if your system is capable of Intel® Virtualization Technology.

    Using the tool, Select the CPU Technologies tab. See if the Intel® Virtualization Technology options are checked or not.

    Here is an example to show that the Intel® Virtualization is available .

    Linux tip how to tell if your processor supports vt

    Here is an example to show that the Intel® Virtualization is not available.

    Linux tip how to tell if your processor supports vt

    If Intel® Virtualization Technology is not checked in the tool, there might be a possibility your processor still supports Intel® Virtualization Technology, but it is already being used by some software that uses a hypervisor. In that case, you can also use the Task Manager to verify the situation.

    Here is an example to show Intel® Virtualization is enabled using Task Manager:

    Linux tip how to tell if your processor supports vt

    Using the table below, you can see if your processor supports Intel® Virtualization, if it is disabled, and additional information.

    Intel® Processor Identification UtilityTask ManagerObservation
    Intel® Virtualization CheckedVirtualization is EnabledIntel® Virtualization is enabled and it is available to use.
    Intel® Virtualization CheckedVirtualization is DisabledIntel® Virtualization is disabled in BIOS.
    Intel® Virtualization not CheckedVirtualization is EnabledIntel® Virtualization is enabled but it is used by some other software on the machine.
    Intel® Virtualization not CheckedVirtualization is DisabledIntel® Virtualization is not supported by the processor.

    Q: If the Intel processor supports Intel® Virtualization technology (VT-x), should the chipset, OS, drivers support that too?

    Intel® VT-x support requires that both the processor and BIOS support it. Although, if VT-d (Virtualization Trusted I/O is also needed, the BIOS, chipset, and processor must also support it.

    Q: How do I disable Intel® Virtualization technology (VT-x) if BIOS option is not there?

    With a VT-x supported Intel® Processor and a VT-x supported BIOS, VT-x can be enabled or disabled in BIOS. Refer to your motherboard vendor for exact instructions if option is not available in BIOS

    Linux tip how to tell if your processor supports vt

    Geoffrey_Carr

    Virtualizacijos technologija (VT) – tai naujoviškų procesorių patobulinimų rinkinys, kuris pagerina virtualios mašinos veikimą, iškraunant kai kuriuos darbus į naujus procesoriaus plėtinius. Tiek “AMD”, tiek “Intel” turi procesorių, kurie palaiko šią technologiją, tačiau kaip jūs galite pasakyti, ar jūsų sistema gali ją įveikti?

    Tai gana paprasta: mes turime perskaityti per / proc / cpuinfo failą ir pažvelgti į vieną iš dviejų reikšmių, vmx arba svm, skyrių su vėliavomis.

    • vmx – (intel)
    • svm – (amd)

    Galite naudoti grep, kad greitai sužinotumėte, ar egzistuoja failo reikšmė paleidus šią komandą:

    egrep ‘(vmx|svm)’ /proc/cpuinfo

    Jei jūsų sistema palaiko VT, vėliavų sąraše pamatysite vmx arba svm. Mano sistemoje yra du procesoriai, todėl yra dvi atskiros sekcijos:

    flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lmflags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm

    Vis dėlto VT technologija gali būti išjungta kompiuterio BIOS, todėl norėsite patikrinti, ar ji nebuvo išjungta. “Cpuinfo” vėliavos tiesiog reiškia, kad jūsų procesorius jį palaiko.

    Mano tyrimas reikalauja, kad VT būtų naudojamas norint paleisti 64 bitų svečius pagal nemokamą “VMware” serverį, skirtą “Linux” . taigi būtų logiška, kad jei taip galėsite, VT bus įjungtas.

    32 bitų VT pagal numatytuosius nustatymus nėra įjungtas “VMware” serverio. Jei norite jį įjungti, turite pridėti šią eilutę prie savo virtualios mašinos * .vmx failo:

    “VMware” nerekomenduoja naudoti “VT” 32 bitų svečiams, nes jie sako, kad tai iš tikrųjų gali pakenkti našumui.

    Linux tip how to tell if your processor supports vt

    Geoffrey_Carr

    Công nghệ ảo hóa (VT) là một bộ cải tiến cho các bộ vi xử lý mới hơn giúp cải thiện hiệu suất cho việc chạy một máy ảo bằng cách giảm tải một số công việc cho các phần mở rộng cpu mới. Cả AMD và Intel đều có các bộ vi xử lý hỗ trợ công nghệ này, nhưng làm thế nào để bạn biết liệu hệ thống của bạn có thể xử lý nó không?

    Điều này khá đơn giản: Chúng tôi sẽ cần xem xét bên trong tệp / proc / cpuinfo và xem phần cờ cho một trong hai giá trị, vmx hoặc svm.

    • vmx – (intel)
    • svm – (amd)

    Bạn có thể sử dụng grep để nhanh chóng xem liệu giá trị có tồn tại trong tệp hay không bằng cách chạy lệnh sau:

    egrep ‘(vmx|svm)’ /proc/cpuinfo

    Nếu hệ thống của bạn hỗ trợ VT, thì bạn sẽ thấy vmx hoặc svm trong danh sách cờ. Hệ thống của tôi có hai bộ xử lý, vì vậy có hai phần riêng biệt:

    flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lmflags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm

    Tuy nhiên, công nghệ VT vẫn có thể bị vô hiệu hóa trong BIOS của máy tính, do đó, bạn sẽ muốn kiểm tra ở đó để đảm bảo rằng công nghệ này không bị vô hiệu hóa. Các cờ trong cpuinfo đơn giản có nghĩa là bộ vi xử lý của bạn hỗ trợ nó.

    Từ nghiên cứu của tôi, VT là cần thiết để chạy 64-bit khách dưới máy chủ VMware miễn phí cho Linux . vì vậy nó sẽ hợp lý theo đó nếu bạn có thể làm như vậy, VT được kích hoạt.

    Theo mặc định, VT 32 bit không được bật theo máy chủ VMware. Nếu bạn muốn kích hoạt nó, bạn cần phải thêm dòng sau vào tệp * .vmx của bạn cho máy ảo của bạn:

    VMware không khuyên bạn nên sử dụng VT cho khách 32-bit, bởi vì họ nói nó sẽ thực sự làm tổn thương hiệu suất.