From: Richard W.M. Jones Date: Mon, 17 Jan 2011 10:35:31 +0000 (+0000) Subject: Add detection of IBM PowerVM Lx86 Linux/x86 emulator. X-Git-Tag: 1.4~4 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=1c5557995137f53579582e91986f57ce6b4befff;hp=ee4ad55ae2b9294d03e45a364c70c42f945d2fc7;p=virt-what.git Add detection of IBM PowerVM Lx86 Linux/x86 emulator. --- 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 diff --git a/virt-what.pod b/virt-what.pod index b8e8d95..d5888c2 100644 --- a/virt-what.pod +++ b/virt-what.pod @@ -44,6 +44,12 @@ container. Status: contributed by Evgeniy Sokolov +=item B + +The guest is running inside IBM PowerVM Lx86 Linux/x86 emulator. + +Status: data supplied by Jeffrey Scheel, not confirmed + =item B This is QEMU.