[PATCH 0/5] lscpu: improve hypervisor detection

Ruediger Meier
2014-05-20T15:42:45Z

From: Ruediger Meier <ruediger.meier@ga-group.nl>

This patch set is based on an openSUSE / SLE patch. Original author was
probably Petr Uzel.

I've splitted the original patch into smaller pieces, removed some
incompatible output format changes and added some test data.

You can also review and pull from my github repo
https://github.com/rudimeier/util-linux/compare/lscpu-detect?expand=1

CC: Stanislav Brabec <sbrabec@suse.cz>
CC: Petr Uzel <petr.uzel@suse.cz>

Ruediger Meier (5):
lscpu: minor cleanup and improve hypervisor detection
tests: add vbox lscpu dump
lscpu: detect OS/400 and pHyp hypervisors
lscpu: improve vmware detection
lscpu: avoid compiler warnings

sys-utils/lscpu.c | 148 ++++++++++++++++++++++++++++++++++-
sys-utils/lscpu.h | 5 +-
tests/expected/lscpu/lscpu-vbox-win | 29 +++++++
tests/ts/lscpu/dumps/vbox-win.tar.gz | Bin 0 -> 15769 bytes
4 files changed, 179 insertions(+), 3 deletions(-)
create mode 100644 tests/expected/lscpu/lscpu-vbox-win
create mode 100644 tests/ts/lscpu/dumps/vbox-win.tar.gz

--
1.8.4.5