]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lscpu: detect OS/400 and pHyp hypervisors
authorRuediger Meier <ruediger.meier@ga-group.nl>
Tue, 20 May 2014 11:26:48 +0000 (11:26 +0000)
committerRuediger Meier <ruediger.meier@ga-group.nl>
Thu, 29 May 2014 11:16:32 +0000 (13:16 +0200)
commit5bd31c6d6e1e77c2843505601ee6cbb58ac74e9c
tree360186a54d6ab199490e473369f14fa5562496d2
parent0f0c5588113b17198d47b652c437b2137c30752c
lscpu: detect OS/400 and pHyp hypervisors

This patch comes originally from openSUSE / SLE. Author was probably
Petr Uzel.
Internal SUSE references: fate310255, sr226509

In comparison to the original patch we have slightly corrected iSeries
and pSeries detection according to Alexander Graf's comments on
util-linux@vger.kernel.org. Maybe we would need to add some more code
to detect pSeries emulated by Qemu/KVM.

CC: Stanislav Brabec <sbrabec@suse.cz>
CC: Petr Uzel <petr.uzel@suse.cz>
CC: Alexander Graf <agraf@suse.de>
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
sys-utils/lscpu.c
sys-utils/lscpu.h