From: Laurent Léonard Date: Fri, 7 Aug 2009 13:22:54 +0000 (+0200) Subject: Add UML support. X-Git-Tag: 1.2~6 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=fd81b8d1f95f1d515b340fe99596e0dd09b128f5;p=virt-what.git Add UML support. --- diff --git a/virt-what.in b/virt-what.in index cc61aae..b49994b 100644 --- a/virt-what.in +++ b/virt-what.in @@ -87,6 +87,12 @@ if [ -d /proc/vz -a ! -d /proc/bc ]; then echo openvz fi +# Check for UML. + +if grep -q 'UML' /proc/cpuinfo; then +    echo uml +fi + # To tell if it is Xen and KVM HVM (fully virtualized) we can use this # helper C program.