On Tue, Mar 22, 2016 at 01:38:14PM +0800, Dongli Zhang wrote: > sys-utils/lscpu.c | 32 ++++++++++++++++++++++++++++++-- > 1 file changed, 30 insertions(+), 2 deletions(-) Applied, thanks. > + if (desc->hyper == HYPER_XEN) { ^^^ I have add && path_exist(_PATH_SYS_HYP_FEATURES) here. It would be nice to have /sys & /proc dump from Xen in our regression tests (see tests/ts/lscpu/mk-input.sh). Unfortunately, the detection depends on CPUID, so dump is useless in this case. We need to extend lscpu to read cpuid and uname information from file if --sysroot (snapshot) is specified. (TODO for v2.29). Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html