diff options
author | Laurent Léonard <laurent@open-minds.org> | 2009-08-07 15:22:54 +0200 |
---|---|---|
committer | Richard Jones <rjones@trick.home.annexia.org> | 2009-08-10 09:13:36 +0100 |
commit | fd81b8d1f95f1d515b340fe99596e0dd09b128f5 (patch) | |
tree | 879982d9937f2a24b80364bb4fcf7bfaa9dd54f7 /virt-what.in | |
parent | fcc68d36da2f3f27beddcc70c99c7a485b08afb4 (diff) | |
download | virt-what-fd81b8d1f95f1d515b340fe99596e0dd09b128f5.tar.gz virt-what-fd81b8d1f95f1d515b340fe99596e0dd09b128f5.tar.xz virt-what-fd81b8d1f95f1d515b340fe99596e0dd09b128f5.zip |
Add UML support.
Diffstat (limited to 'virt-what.in')
-rw-r--r-- | virt-what.in | 6 |
1 files changed, 6 insertions, 0 deletions
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. |