Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP3:GA
xen.4507
xend-cpuinfo-model-name.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xend-cpuinfo-model-name.patch of Package xen.4507
References: bnc#814709 For cpus that contain additional ':' characters in their name Index: xen-4.4.0-testing/tools/python/xen/xend/osdep.py =================================================================== --- xen-4.4.0-testing.orig/tools/python/xen/xend/osdep.py +++ xen-4.4.0-testing/tools/python/xen/xend/osdep.py @@ -143,10 +143,14 @@ def _linux_get_cpuinfo(): d = {} for line in f: keyvalue = line.split(':') - if len(keyvalue) != 2: + if len(keyvalue) < 2: continue key = keyvalue[0].strip() - val = keyvalue[1].strip() + for i in range(1, len(keyvalue)): + if i == 1: + val = keyvalue[i].lstrip() + else: + val = val + ":" + keyvalue[i] if key == 'processor': if p != -1: cpuinfo[p] = d
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