Skip to content

"SLC6X: applications/emulators: virt-what

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

Website: http://people.redhat.com/~rjones/virt-what/
License: GPLv2+
Vendor: Scientific Linux CERN, http://cern.ch/linux
Description:
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)

Packages

virt-what-1.11-1.3.el6.i686 [24 KiB] Changelog by Richard W.M. Jones (2016-10-31):
- Add all patches from 1.11 to upstream 1.15+.
  resolves: rhbz#1249439 rhbz#1312431
virt-what-1.11-1.2.el6.i686 [22 KiB] Changelog by Richard W.M. Jones (2012-10-11):
- Add patch to fix dmidecode detection of Hitachi Virtage
  (thanks Satoru Moriya, Masaki Kimura)
  resolves: rhbz#829427
virt-what-1.11-1.1.el6.i686 [22 KiB] Changelog by Richard W.M. Jones (2011-06-24):
- Rebase to virt-what 1.11.
  resolves: rhbz#672211
- Add patch "IA64 Xen HVM should print 'xen-hvm' not 'xen-domU'" from upstream.
virt-what-1.3-4.4.el6.i686 [19 KiB] Changelog by Richard W.M. Jones (2011-01-31):
- Various improvements to the wording in the manual page.
  resolves: rhbz#672285
- Confirm support for Microsoft HyperV and add a regression test.
  resolves: rhbz#670272

Listing created by repoview