git.annexia.org
/
virt-what.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add detection of Hitachi Virtualization Manager (HVM) Virtage LPAR.
[virt-what.git]
/
virt-what.in
diff --git
a/virt-what.in
b/virt-what.in
index
ddd6faf
..
30cce75
100644
(file)
--- a/
virt-what.in
+++ b/
virt-what.in
@@
-127,6
+127,12
@@
if grep -q '^vendor_id.*PowerVM Lx86' /proc/cpuinfo; then
echo powervm_lx86
fi
echo powervm_lx86
fi
+# Check for Hitachi Virtualization Manager (HVM) Virtage logical partitioning.
+if echo "$dmi" | grep -q 'Manufacturer.*HITACHI' &&
+ echo "$dmi" | grep -q 'Product.*HVM LPAR'; then
+ echo virtage
+fi
+
# Check for Xen.
if [ "$cpuid" = "XenVMMXenVMM" ]; then
# Check for Xen.
if [ "$cpuid" = "XenVMMXenVMM" ]; then