summaryrefslogtreecommitdiffstats
path: root/virt-what.in
diff options
context:
space:
mode:
Diffstat (limited to 'virt-what.in')
-rw-r--r--virt-what.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/virt-what.in b/virt-what.in
index 22cbca1..0979c50 100644
--- a/virt-what.in
+++ b/virt-what.in
@@ -143,6 +143,12 @@ if echo "$dmi" | grep -q 'Manufacturer.*HITACHI' &&
echo virtage
fi
+# Check for IBM SystemZ (z/VM, not tested whether this applies to Linux
+# installed directly into an LPAR, we may need a separate test).
+if grep -q '^vendor_id.*IBM/S390' $root/proc/cpuinfo; then
+ echo zvm
+fi
+
# Check for Xen.
if [ "$cpuid" = "XenVMMXenVMM" ]; then