From fd81b8d1f95f1d515b340fe99596e0dd09b128f5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Laurent=20L=C3=A9onard?= Date: Fri, 7 Aug 2009 15:22:54 +0200 Subject: [PATCH] Add UML support. --- virt-what.in | 6 ++++++ 1 file changed, 6 insertions(+) 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. -- 1.8.3.1