How to check if Virtualization is supported for your CPU

Reading Time: < 1 minute

Many ways
1. Use the following command:

Reading Time: < 1 minute

Many ways
1. Use the following command:

 
# grep -E 'vmx|svm' /proc/cpuinfo
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 pbe nx\
 lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx est\
 tm2 ssse3 cx16 xtpr lahf_lm ida 
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 pbe nx\
 lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx est\
 tm2 ssse3 cx16 xtpr lahf_lm ida

vmx stands for Virtual Machine eXecution and it refers to Intel CPUs.
svm stands for Secure Virtual Machine and it refers to AMD CPUs.

2 . If you are not sure what to look at or you need confirmation, try the following:

 
# grep 'model name' /proc/cpuinfo
model name      : Intel(R) Xeon(R) CPU            5150  @ 2.66GHz
model name      : Intel(R) Xeon(R) CPU            5150  @ 2.66GHz
model name      : Intel(R) Xeon(R) CPU            5150  @ 2.66GHz
model name      : Intel(R) Xeon(R) CPU            5150  @ 2.66GHz

Google the CPU name and check the datasheet from Intel or AMD. Look for VT.

3. Finally you can simply check the BIOS of your server. There should be a section about Advanced Feature or Options and an option that says "Virtualization: disabled". Turn it to enabled if you are planning use that feature.

By Marc Olivier Meunier

Marc has spent the past few years putting oil on the fire of a hyper growth ad tech company. At Smartly.io he was in charge of scaling the support and its culture. At Eficode he is now leading an engineering team and running operations. He leads by example and puts a lot of emphasis on diversity and inclusion, constantly working to create a safe environment. A warm leader with a passion for memorable experiences and innovation.
Find Marc on Linkedin

Leave a Reply

Your email address will not be published. Required fields are marked *