summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2011-01-24 10:27:52 +0000
committerRichard W.M. Jones <rjones@redhat.com>2011-01-24 10:27:52 +0000
commit4216f66a14702bf1a430a70be1be46d27b8b67c9 (patch)
treed196993e471b23030a4113a853b894cabf0915a0
parent0c8dd875e579261b8a079382f84f276d8d9229a5 (diff)
downloadvirt-what-4216f66a14702bf1a430a70be1be46d27b8b67c9.tar.gz
virt-what-4216f66a14702bf1a430a70be1be46d27b8b67c9.tar.xz
virt-what-4216f66a14702bf1a430a70be1be46d27b8b67c9.zip
Add Parallels Virtual Platform (thanks Justin Clift).
-rw-r--r--virt-what.in5
-rw-r--r--virt-what.pod7
2 files changed, 12 insertions, 0 deletions
diff --git a/virt-what.in b/virt-what.in
index 627f961..a0f7406 100644
--- a/virt-what.in
+++ b/virt-what.in
@@ -158,6 +158,11 @@ if grep -q '^vendor_id.*IBM/S390' $root/proc/cpuinfo; then
fi
fi
+# Check for Parallels.
+if echo "$dmi" | grep -q 'Vendor: Parallels'; then
+ echo parallels
+fi
+
# Check for Xen.
if [ "$cpuid" = "XenVMMXenVMM" ]; then
diff --git a/virt-what.pod b/virt-what.pod
index 2e4a8b3..cf4c1ff 100644
--- a/virt-what.pod
+++ b/virt-what.pod
@@ -76,6 +76,13 @@ container.
Status: contributed by Evgeniy Sokolov
+=item B<parallels>
+
+The guest is running inside Parallels Virtual Platform
+(Parallels Desktop, Parallels Server).
+
+Status: contributed by Justin Clift
+
=item B<powervm_lx86>
The guest is running inside IBM PowerVM Lx86 Linux/x86 emulator.