e09562d587
- Drop 32bit support from spec file - Dropped 520d417d-xen-Add-stdbool.h-workaround-for-BSD.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=282
17 lines
891 B
Diff
17 lines
891 B
Diff
Index: xen-4.4.0-testing/tools/python/xen/xend/XendDomainInfo.py
|
|
===================================================================
|
|
--- xen-4.4.0-testing.orig/tools/python/xen/xend/XendDomainInfo.py
|
|
+++ xen-4.4.0-testing/tools/python/xen/xend/XendDomainInfo.py
|
|
@@ -2806,7 +2806,10 @@ class XendDomainInfo:
|
|
from xen.xend import XendDomain
|
|
doms = XendDomain.instance().list('all')
|
|
for dom in filter (lambda d: d.domid != self.domid, doms):
|
|
- cpuinfo = dom.getVCPUInfo()
|
|
+ try:
|
|
+ cpuinfo = dom.getVCPUInfo()
|
|
+ except:
|
|
+ continue
|
|
for vcpu in sxp.children(cpuinfo, 'vcpu'):
|
|
if sxp.child_value(vcpu, 'online') == 0: continue
|
|
cpumap = list(sxp.child_value(vcpu,'cpumap'))
|