Linux security

How to tell in Linux if the hardware supports virtualization

Here is a quick way to find out and check if your hardware, cpu supports virtualization in [easyazon_link asin=”111821854X” locale=”US” new_window=”default” nofollow=”default” tag=”wn0d5-20″ add_to_cart=”default” cloaking=”default” localization=”default” popups=”default”] Linux [/easyazon_link]. Simply open terminal and run this command:

su
egrep '(vmx|svm)' /proc/cpuinfo

If you see vmx or svm in the output under flags section, then your hardware (CPU) supports the virtualization.

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 syscall nx rdtscp lm
constant_tsc archrfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni
dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2
popcnt lahf_lm tpr_shadow vnmi flexprioritpt vpid
.

As you can see in my output there is vmx so I am good to go 🙂 and can install for example [easyazon_link asin=”0137142978″ locale=”US” new_window=”default” nofollow=”default” tag=”wn0d5-20″ add_to_cart=”default” cloaking=”default” localization=”default” popups=”default”] KVM [/easyazon_link] on my [easyazon_link asin=”0596003439″ locale=”US” new_window=”default” nofollow=”default” tag=”wn0d5-20″ add_to_cart=”default” cloaking=”default” localization=”default” popups=”default”] Linux [/easyazon_link] box.

[easyazon_block add_to_cart=”default” align=”left” asin=”0596003439″ cloaking=”default” layout=”left” localization=”default” locale=”US” nofollow=”default” new_window=”default” tag=”wn0d5-20″]

Leave a Reply