diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2011-01-17 10:35:31 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-01-17 10:37:20 +0000 |
commit | 1c5557995137f53579582e91986f57ce6b4befff (patch) | |
tree | b2a0209062e53b986513fcaf6f776abf552dac08 /virt-what.in | |
parent | ee4ad55ae2b9294d03e45a364c70c42f945d2fc7 (diff) | |
download | virt-what-1c5557995137f53579582e91986f57ce6b4befff.tar.gz virt-what-1c5557995137f53579582e91986f57ce6b4befff.tar.xz virt-what-1c5557995137f53579582e91986f57ce6b4befff.zip |
Add detection of IBM PowerVM Lx86 Linux/x86 emulator.
Diffstat (limited to 'virt-what.in')
-rw-r--r-- | virt-what.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/virt-what.in b/virt-what.in index 46bf12d..ddd6faf 100644 --- a/virt-what.in +++ b/virt-what.in @@ -1,6 +1,6 @@ #!/bin/bash - # @configure_input@ -# Copyright (C) 2008-2010 Red Hat Inc. +# Copyright (C) 2008-2011 Red Hat Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -122,6 +122,11 @@ if grep -q 'UML' /proc/cpuinfo; then echo uml fi +# Check for IBM PowerVM Lx86 Linux/x86 emulator. +if grep -q '^vendor_id.*PowerVM Lx86' /proc/cpuinfo; then + echo powervm_lx86 +fi + # Check for Xen. if [ "$cpuid" = "XenVMMXenVMM" ]; then |