Re: [PATCH 0/5] lscpu: improve hypervisor detection

Ruediger Meier
2014-05-21T22:29:16Z

On Tuesday 20 May 2014, Ruediger Meier wrote:
> 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.

I have updated these patches on github
https://github.com/karelzak/util-linux/pull/87

changes since v1:
* separate read_hypervisor_powerpc function:
- fopen -> path_fopen
- it works now for SYSTEM_SNAPSHOT and not only ifdef __powerpc_
*VMWARE_BDOOR:
- cleanup ifdefs
- attribute unused
- must be only called if not SYSTEM_SNAPSHOT

Note VMWARE_BDOOR breaks travis build for (old) clang. To be fixed later
via ifdef or just for travis.

cu,
Rudi