diff options
author | Benjamin Romer | 2015-02-10 22:04:09 +0100 |
---|---|---|
committer | Karel Zak | 2015-02-11 11:46:19 +0100 |
commit | 4597b69249be90c248de0f4a3270901c4762f4a9 (patch) | |
tree | eabc82dd6f26aa1a0d6e995b26447327c4ef6d64 /sys-utils/lscpu.c | |
parent | sulogin, hwclock: use xusleep() instead of usleep() (diff) | |
download | kernel-qcow2-util-linux-4597b69249be90c248de0f4a3270901c4762f4a9.tar.gz kernel-qcow2-util-linux-4597b69249be90c248de0f4a3270901c4762f4a9.tar.xz kernel-qcow2-util-linux-4597b69249be90c248de0f4a3270901c4762f4a9.zip |
lscpu: add s-Par support
Adds support for the s-Par firmware's hypervisor leaf.
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Diffstat (limited to 'sys-utils/lscpu.c')
-rw-r--r-- | sys-utils/lscpu.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys-utils/lscpu.c b/sys-utils/lscpu.c index b6f1d6e0d..fd94d1a83 100644 --- a/sys-utils/lscpu.c +++ b/sys-utils/lscpu.c @@ -107,6 +107,7 @@ const char *hv_vendors[] = { [HYPER_VBOX] = "Oracle", [HYPER_OS400] = "OS/400", [HYPER_PHYP] = "pHyp", + [HYPER_SPAR] = "Unisys s-Par" }; const int hv_vendor_pci[] = { @@ -585,6 +586,8 @@ read_hypervisor_cpuid(struct lscpu_desc *desc) desc->hyper = HYPER_MSHV; else if (!strncmp("VMwareVMware", hyper_vendor_id, 12)) desc->hyper = HYPER_VMWARE; + else if (!strncmp("UnisysSpar64", hyper_vendor_id, 12)) + desc->hyper = HYPER_SPAR; } #else /* ! (__x86_64__ || __i386__) */ |