Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Update
python-libmount.4110
detect-sPar-in-lscpu.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File detect-sPar-in-lscpu.patch of Package python-libmount.4110
Adds support for the s-Par firmware's hypervisor leaf. Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> --- sys-utils/lscpu.c | 3 +++ sys-utils/lscpu.h | 1 + 2 files changed, 4 insertions(+) diff --git a/sys-utils/lscpu.c b/sys-utils/lscpu.c index c272dc2..6af49d6 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__) */ diff --git a/sys-utils/lscpu.h b/sys-utils/lscpu.h index e340291..b9aa255 100644 --- a/sys-utils/lscpu.h +++ b/sys-utils/lscpu.h @@ -17,6 +17,7 @@ enum { HYPER_VBOX, HYPER_OS400, HYPER_PHYP, + HYPER_SPAR, }; extern int read_hypervisor_dmi(void); -- 2.1.0 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor