Friday, January 24, 2020

Can I install Virtualization software ex VirtualBox

So you want to run VMs.  You want to use VirtualBox, Qemu or others. Before you install any virtualization software on your *nix box you need to determine whether or not the CPU will support it.

lscpu command


lscpu  displays info about CPU architecture, includes flags








Intel CPU

If you have an Intel CPU the vmx flag indicates that it can support Intel VT technology, if you don't find it your CPU cannot support virtualization.

$ grep vmx   /proc/cpuinfo

AMD  CPU

If you have an Intel CPU the svm flag indicates that it can support AMD-V technology, if you don't find it your CPU cannot support virtualization

$ grep svm   /proc/cpuinfo

You can combine the two, using extended regex

$ grep -E "svm|vmx"   /proc/cpuinfo

No comments:

Post a Comment