How to check if Virtualization is supported for your CPU


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.


Leave a Reply

Your email address will not be published.