Add VirtualBox support.
authorLaurent Léonard <laurent@open-minds.org>
Fri, 7 Aug 2009 13:23:27 +0000 (15:23 +0200)
committerRichard Jones <rjones@trick.home.annexia.org>
Mon, 10 Aug 2009 08:13:39 +0000 (09:13 +0100)
virt-what.in

index b49994b..ebea7a1 100644 (file)
@@ -77,6 +77,12 @@ if echo "$dmi" | grep -q 'Manufacturer: Microsoft Corporation'; then
     echo virtualpc
 fi
 
+# Check for VirtualBox.
+
+if echo "$dmi" | grep -q 'Manufacturer: innotek GmbH'; then
+    echo virtualbox
+fi
+
 # Check for OpenVZ / Virtuozzo.
 # Added by Evgeniy Sokolov.
 # /proc/vz - always exists if OpenVZ kernel is running (inside and outside