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 Red Hat's hypervisor
[virt-what.git]
/
virt-what.in
diff --git
a/virt-what.in
b/virt-what.in
index
aacbb13
..
850760e
100644
(file)
--- a/
virt-what.in
+++ b/
virt-what.in
@@
-252,6
+252,11
@@
if echo "$dmi" | grep -q 'Product Name: Google Compute Engine'; then
echo google_cloud
fi
+# Red Hat's hypervisor.
+if echo "$dmi" | grep -q 'Manufacturer: Red Hat'; then
+ echo redhat
+fi
+
# Check for Xen.
if [ "$cpuid" = "XenVMMXenVMM" ] &&