2012-09-17 17:49:23 +02:00
|
|
|
Index: xen-4.2.0-testing/tools/python/xen/xend/XendDomainInfo.py
|
2011-09-15 23:43:21 +02:00
|
|
|
===================================================================
|
2012-09-17 17:49:23 +02:00
|
|
|
--- xen-4.2.0-testing.orig/tools/python/xen/xend/XendDomainInfo.py
|
|
|
|
+++ xen-4.2.0-testing/tools/python/xen/xend/XendDomainInfo.py
|
|
|
|
@@ -2785,7 +2785,10 @@ class XendDomainInfo:
|
2011-09-15 23:43:21 +02:00
|
|
|
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'))
|