From 1c5557995137f53579582e91986f57ce6b4befff Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Mon, 17 Jan 2011 10:35:31 +0000 Subject: [PATCH] Add detection of IBM PowerVM Lx86 Linux/x86 emulator. --- virt-what.in | 7 ++++++- virt-what.pod | 6 ++++++ 2 files changed, 12 insertions(+), 1 deletion(-) 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. -- 1.8.3.1