网站:http://people.redhat.com/~rjones/virt-what/

编译安装:

wget http://people.redhat.com/~rjones/virt-what/files/virt-what-1.15.tar.gz
tar zxvf virt-what-1.15.tar.gz
cd virt-what-1.12/
./configure
make && make install

安装完成。机子如果没gcc,需要安装提前。

然后执行:virt-what 返回虚拟框架名字。

yum,apt安装:

apt install virt-what # CentOS
yum install virt-what # Debian/Ubuntu

安装后输入:virt-what来查看