fi
# Check for VirtualBox.
-
+# Added by Laurent Léonard.
if echo "$dmi" | grep -q 'Manufacturer: innotek GmbH'; then
echo virtualbox
fi
fi
# Check for UML.
-
+# Added by Laurent Léonard.
if grep -q 'UML' /proc/cpuinfo; then
echo uml
fi
+=encoding utf8
+
=head1 NAME
virt-what - detect if we are running in a virtual machine
Status: confirmed by RWMJ.
+=item B<uml>
+
+This is a User-Mode Linux (UML) guest.
+
+Status: contributed by Laurent Léonard
+
+=item B<virtualbox>
+
+This is a VirtualBox guest.
+
+Status: contributed by Laurent Léonard
+
=item B<virtualpc>
The guest appears to be running on Microsoft VirtualPC.