X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=virt-what.in;h=b49994b3ab9fe64587d07442fcad971040aa90fc;hb=fd81b8d1f95f1d515b340fe99596e0dd09b128f5;hp=cc61aaee4a586f19a7a2c1193ccad34ac443736e;hpb=fcc68d36da2f3f27beddcc70c99c7a485b08afb4;p=virt-what.git 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.