virt-what

virt-what is a shell script which can be used to detect if the program is running in a virtual machine. The program prints out a list of \"facts\" about the virtual machine, derived from heuristics. One fact is printed per line. If nothing is printed and the script exits with code 0 (no error), then it can mean either that the program is running on bare-metal or the program is running inside a type of virtual machine which we don't know about or can't detect. Current types of virtualization detected: - hyperv Microsoft Hyper-V - kvm Linux Kernel Virtual Machine (KVM) - openvz OpenVZ or Virtuozzo - powervm_lx86 IBM PowerVM Lx86 Linux/x86 emulator - qemu QEMU (unaccelerated) - uml User-Mode Linux (UML) - virtage Hitachi Virtualization Manager (HVM) Virtage LPAR - virtualbox VirtualBox - virtualpc Microsoft VirtualPC - vmware VMware - xen Xen - xen-dom0 Xen dom0 (privileged domain) - xen-domU Xen domU (paravirtualized guest domain) - xen-hvm Xen guest fully virtualized (HVM)
Current version: 1.19

History

Effective Date Table ID Version Download URL Project URL Version URL
2024-08-26 12 1.25 download project
2022-03-31 11 1.19 download project version
2020-12-22 10 1.19 download project version
2019-01-17 9 1.15 download project version
2017-07-13 8 1.15 download project version