virt-what

detect if we are running in a virtual machine

WWW CVSWeb GITHub
  1. Package version
    virt-what-1.25
  2. Maintainer
    Jasper Lievisse Adriaanse

virt-what is a shell script which can be used to detect if the program
is running in a virtual machine.

virt-what supports a very large number of different hypervisor types,
including common open source hypervisors (KVM, Xen, QEMU, VirtualBox,
VMM), mainframe systems like IBM Systemz, LPAR, z/VM, hardware
partitioning schemes like Hitachi Virtage, proprietary hypervisors like
VMWare, Microsoft Hyper-V and much more.