How to tell if your CPU supports Virtualization in Linux

Pretty easy! If your processor is an Intel CPU, then the Virtualization Technology supported is called Virtual Machine Extensions, abbreviated as vmx

If your processor is an AMD, then it should have the Secure Virtual Machine abbreviated as svm.

Check it here in the following file – /proc/cpuinfo

You can either cat it’s contents on the terminal and check the cpu flag manually, or let grep handle the job for you.

cat /proc/cpuinfo


grep --color -Ei 'svm|vmx' /proc/cpuinfo

PS: Most of the guest installations in a virtual machine software will have these extensions disabled by default. The reason is that they don’t want you to do virtualization inside a virtualization or you can say, nested virtualization, which may not be supported by the virtual machine software you’re using.