summaryrefslogtreecommitdiffstats
path: root/virt-what.in
Commit message (Collapse)AuthorAgeFilesLines
* Retire private id executablesSami Kerola2012-07-191-2/+1
| | | | | | | | | | | | | The main script is setting PATH to use id executable from rather strange directory. That allowed checks to run without root privilege. This change will make detection whether test run is been requested more universal, and to work without super setting id command. Signed-off-by: Sami Kerola <kerolasa@iki.fi> RWMJ: - Use -ne instead of != to compare integers.
* Disallow use of unset variablesSami Kerola2012-07-181-4/+9
| | | | | | | | | Use of unset variable should be considered as bug, which means there has to be sensible defaults. For $skip_qemu_kvm the default, or later setting, is a binary named 'true' or 'false' which is executed at it clause. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* Remove bash backtick command substitutionSami Kerola2012-07-181-4/+4
| | | | | | | The $(command) is more flexible as it allows nesting and easier to read, than `command` notation. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* IA64 Xen HVM should print 'xen-hvm' not 'xen-domU'.Richard W.M. Jones2011-05-271-1/+1
| | | | This updates commit 3ea952163f0c28cd88f8473bb015df892c4247bf.
* Add IA64-specific tests for virtualization (RHBZ#707508).Richard W.M. Jones2011-05-261-0/+21
| | | | | | | | | | | | | | | Xen IA64 HVM does not provide a simple way to detect the hypervisor. If we are lucky and PV-on-HVM drivers are installed and loaded, then there will be a /sys/bus/xen directory. Otherwise we add a timing attack to see if we can detect generic virtualization. Since this is a big hack, it is only enabled on IA64 and only used when all other methods of detection have failed. This commit also adds `uname -p` to all tests (enabling arch detection so we only run the above tests on IA64).
* Fix for KVM with explicit -cpu model parameter.Richard W.M. Jones2011-05-251-10/+16
|
* Add note about dmidecode on non-PC architectures (thanks Matt Booth).Richard W.M. Jones2011-02-011-0/+3
|
* Confirm Microsoft Hyper-V, and add a regression test.Richard W.M. Jones2011-01-261-2/+4
| | | | | | | | Data collected from a RHEL 5.6 guest running on Hyper-V. Also this modifies the VirtualPC test slightly to distinguish it from Hyper-V. We require more data from a real VirtualPC guest to properly refine this test.
* Add Parallels Virtual Platform (thanks Justin Clift).Richard W.M. Jones2011-01-241-0/+5
|
* Add support for Linux kernels with pv_ops running on Xen.Richard W.M. Jones2011-01-201-5/+6
| | | | | | | These would be found for example on Amazon EC2 or Citrix Xen. This also adds all the extra files found under /sys/hypervisor on this platform.
* Add additional facts about IBM SystemZ mainframes (thanks Dan Horák).Richard W.M. Jones2011-01-201-3/+12
| | | | | | | | | | | | | Add /proc/sysinfo from a real z/VM guest. This file can in theory be used to detect the following three arrangements: (1) Linux running in z/VM on an LPAR. (2) Linux running directly on an LPAR. (3) Linux running directly on baremetal (very unlikely!) Only arrangement (1) has been tested.
* Add test for z/VM on IBM SystemZ mainframes (thanks Dan Horák).Richard W.M. Jones2011-01-201-0/+6
|
* Add support for detecting Linux VServer.Barış Metin2011-01-191-0/+5
|
* Add a test for baremetal.Richard W.M. Jones2011-01-181-16/+21
| | | | | | | | | | | | | This modifies the virt-what script slightly so that a test root can be passed, which causes all tests to be run relative to that root directory (similar to a chroot). We then provide a root directory with just enough files in it to convince virt-what that it is a baremetal machine. Note that the data in the files is completely real. We do not intend to add a test unless we can get data from the real system.
* Set LANG=C when running external dmidecode command.Richard W.M. Jones2011-01-181-1/+1
|
* Add detection of Hitachi Virtualization Manager (HVM) Virtage LPAR.Richard W.M. Jones2011-01-181-0/+6
| | | | Data supplied by Bhavna Sarathy. Not confirmed.
* Add detection of IBM PowerVM Lx86 Linux/x86 emulator.Richard W.M. Jones2011-01-171-1/+6
|
* Detect Microsoft Hyper-V.Richard W.M. Jones2010-12-151-0/+6
| | | | | | | | Based on a description on MSDN: http://blogs.msdn.com/b/sqlosteam/archive/2010/10/30/is-this-real-the-metaphysics-of-hardware-virtualization.aspx Not tested. Hyper-V also supports more detail through the CPUID instruction, which we don't yet display.
* Version 1.3.1.3Richard W.M. Jones2010-10-191-1/+1
|
* xen: More reliable differentiation of dom0 and domU.Richard W.M. Jones2010-10-181-4/+6
|
* Check for VMWare using the CPUID (thanks: Chetan Loke).Richard Jones2010-07-011-7/+14
|
* Move virt-what-cpuid-helper to /usr/libexec.Richard Jones2009-08-101-1/+6
|
* Update documentation on new tests added by Laurent Léonard.Richard Jones2009-08-101-2/+2
|
* Add VirtualBox support.Laurent Léonard2009-08-101-0/+6
|
* Add UML support.Laurent Léonard2009-08-101-0/+6
|
* Autoconfify, add CPUID helper program to detect HVM domains (Paolo Bonzini).1.1Richard Jones2009-07-231-0/+126