Linux Check If CPU Supports Virtualization
This post will guide you how to check if your processor support Intel-VT or AMD-V hardware virtualization in Linux. How do I find out if my system CPU supports virtualization under Linux operating system.
Linux Check If CPU Supports Virtualization
To Check if CPU supports virtualization in Linux, you need to check the /proc/cpuinfo file to see if it contain virtualization flag.
For AMD CPU, issue the following command to verify that if your CPU support AMD-V virtualization technology:
#grep svm /proc/cpuinfo
For Intel CPU, issue the following command to verify that if your CPU support Intel VT CPU virtualization.
#grep vmx /proc/cpuinfo
You can also use the lscpu tool to get more information about the CPU architecture. It will gathers CPU architecture information from sysfs and /proc/cpuinfo. So it also can be used to check if your system support virtualization.
Type the following command:
#lscpu
Outputs:
[root@devops ~]# lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 1 On-line CPU(s) list: 0 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 1 NUMA node(s): 1 Vendor ID: GenuineIntel CPU family: 6 Model: 42 Model name: Intel(R) Core(TM) i3-2350M CPU @ 2.30GHz Stepping: 7 CPU MHz: 2294.792 BogoMIPS: 4589.58 Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 256K L3 cache: 3072K NUMA node0 CPU(s): 0