[virt-tools-list] [PATCH virt-what] Add support for detecting bhyve
Leonardo Brondani Schenkel
leonardo at schenkel.net
Sat Jul 30 20:14:40 UTC 2016
---
virt-what.in | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/virt-what.in b/virt-what.in
index 0e048a2..b1eff0d 100644
--- a/virt-what.in
+++ b/virt-what.in
@@ -134,6 +134,13 @@ if echo "$dmi" | grep -q 'Manufacturer: innotek GmbH'; then
echo virtualbox
fi
+# Check for bhyve.
+if [ "$cpuid" = "bhyve bhyve " ]; then
+ echo bhyve
+elif echo "$dmi" | grep -q "Vendor: BHYVE"; then
+ echo bhyve
+fi
+
# Check for OpenVZ / Virtuozzo.
# Added by Evgeniy Sokolov.
# /proc/vz - always exists if OpenVZ kernel is running (inside and outside
--
2.9.2
More information about the virt-tools-list
mailing list