virt-what - Detect if we are running in a virtual machine

Property Value
Distribution Fedora 26
Repository Fedora i386
Package name virt-what
Package version 1.15
Package release 5.fc26
Package architecture i686
Package type rpm
Installed size 40.69 KB
Download size 30.41 KB
Official Mirror
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)


Package Version Architecture Repository
virt-what-1.18-1.fc26.i686.rpm 1.18 i686 Fedora Updates
virt-what-1.18-1.fc26.x86_64.rpm 1.18 x86_64 Fedora Updates
virt-what-1.15-5.fc26.x86_64.rpm 1.15 x86_64 Fedora
virt-what - - -


Name Value
dmidecode - -
rtld(GNU_HASH) -
util-linux -
which -


Name Value
virt-what = 1.15-5.fc26
virt-what(x86-32) = 1.15-5.fc26


Type URL
Binary Package virt-what-1.15-5.fc26.i686.rpm
Source Package virt-what-1.15-5.fc26.src.rpm

Install Howto

Install the virt-what rpm package:

# dnf install virt-what




2017-02-11 - Fedora Release Engineering <> - 1.15-5
- Rebuilt for
2016-06-14 - Richard W.M. Jones <> - 1.15-4
- Require 'which' program.
2016-02-05 - Fedora Release Engineering <> - 1.15-3
- Rebuilt for
2015-06-19 - Fedora Release Engineering <> - 1.15-2
- Rebuilt for
2015-04-21 - Richard W.M. Jones <> - 1.15-1
- New upstream version 1.15.
- Remove patches, now upstream.
2014-08-18 - Fedora Release Engineering <> - 1.13-5
- Rebuilt for
2014-06-08 - Fedora Release Engineering <> - 1.13-4
- Rebuilt for
2013-10-28 - Richard W.M. Jones <> - 1.13-3
- Suppress warning message on Amazon EC2:
"grep: /proc/xen/capabilities: No such file or directory"
2013-09-11 - Richard W.M. Jones <> - 1.13-2
- Include two upstream patches for detecting Xen and Linux VServer better
- Modernize the spec file.
2013-07-29 - Richard W.M. Jones <> - 1.13-1
- New upstream version 1.13.

See Also

Package Description
virt-who-0.17-3.fc26.noarch.rpm Agent for reporting virtual guest IDs to subscription-manager
virtaal-0.7.1-10.fc26.noarch.rpm Localization and translation editor
virtdetect-0.107-8.fc26.noarch.rpm Detect if a UNIX system is running as a virtual machine
virtme-0.0.3-4.fc26.noarch.rpm Virtualize the running distro or a simple rootfs
virtualplanet-2.0-3.fc26.i686.rpm An atlas for planets surface formations
virtualplanet-data-base-2.0-3.fc26.noarch.rpm Base data for Virtual Planets Atlas
virtualplanet-data-historical-2.0-3.fc26.noarch.rpm Historical textures for Virtual Planets Atlas
virtualplanet-doc-2.0-3.fc26.noarch.rpm Documentation files for Virtual Planets Atlas
visualboyadvance-m-2.0.0-0.16.git78cd223.fc26.i686.rpm High compatibility Gameboy Advance Emulator combining VBA builds
visualboyadvance-m-sdl-2.0.0-0.16.git78cd223.fc26.i686.rpm SDL version (no GUI) for VBA-M, a high compatibility Gameboy Advance Emulator
vit-1.2-5.fc26.noarch.rpm A minimalist Taskwarrior full-screen terminal interface with Vim key bindings
vkeybd-0.1.18d-11.fc26.i686.rpm Virtual MIDI keyboard
vldocking-2.1.5-11.fc26.noarch.rpm A Java ™ docking system for JFC Swing applications
vldocking-javadoc-2.1.5-11.fc26.noarch.rpm Javadocs for vldocking
vlgothic-fonts-20141206-7.fc26.noarch.rpm Japanese TrueType font