Linux @ CERN

CERN > IT > Linux

CentOS 7 - Updates for x86_64: unspecified: virt-what

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

Website: http://people.redhat.com/~rjones/virt-what/
License: GPLv2+
Vendor: CentOS
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:

 - aws          Amazon Web Services cloud guest
 - bhyve        FreeBSD hypervisor
 - docker       Docker container
 - hyperv       Microsoft Hyper-V
 - ibm_power-kvm
                IBM POWER KVM
 - ibm_power-lpar_shared
 - ibm_power-lpar_dedicated
                IBM POWER LPAR (hardware partition)
 - ibm_systemz-*
                IBM SystemZ Direct / LPAR / z/VM / KVM
 - ldoms        Oracle VM Server for SPARC Logical Domains
 - linux_vserver
                Linux VServer container
 - lxc          Linux LXC container
 - kvm          Linux Kernel Virtual Machine (KVM)
 - lkvm         LKVM / kvmtool
 - openvz       OpenVZ or Virtuozzo
 - ovirt        oVirt node
 - parallels    Parallels Virtual Platform
 - powervm_lx86 IBM PowerVM Lx86 Linux/x86 emulator
 - qemu         QEMU (unaccelerated)
 - rhev         Red Hat Enterprise Virtualization
 - uml          User-Mode Linux (UML)
 - virtage      Hitachi Virtualization Manager (HVM) Virtage LPAR
 - virtualbox   VirtualBox
 - virtualpc    Microsoft VirtualPC
 - vmm          vmm OpenBSD hypervisor
 - 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.18-4.el7.x86_64 [29 KiB] Changelog by Richard W.M. Jones (2017-10-17):
- Add patch to recognize ppc64le virtualization.
  resolves: rhbz#1147876
virt-what-1.13-10.el7.x86_64 [27 KiB] Changelog by Richard W.M. Jones (2017-03-28):
- Require 'which' program
  resolves: rhbz#1433005
virt-what-1.13-8.el7.x86_64 [27 KiB] Changelog by Richard W.M. Jones (2016-07-27):
- Depend on dmidecode on aarch64
  resolves: rhbz#1360699
virt-what-1.13-6.el7.x86_64 [26 KiB] Changelog by Richard W.M. Jones (2015-04-21):
- Fix detection of aarch64
  resolves: rhbz#1201845
  Add all commits to version 1.15.

Listing created by repoview