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 Linux. Simply open terminal and run this command:

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 KVM on my Linux box.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.