| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
The $(command) is more flexible as it allows nesting and easier to
read, than `command` notation.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
|
|
|
|
| |
This updates commit 3ea952163f0c28cd88f8473bb015df892c4247bf.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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).
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
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 /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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Data supplied by Bhavna Sarathy. Not confirmed.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|