debuggers.hg
changeset 19665:070f456143d3
xend: remove spurious pci_len from getDeviceSxprs
Cc: Zhai Edwin <edwin.zhai@intel.com>
Cc: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
Cc: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Cc: Zhai Edwin <edwin.zhai@intel.com>
Cc: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
Cc: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
author | Keir Fraser <keir.fraser@citrix.com> |
---|---|
date | Wed May 20 15:13:36 2009 +0100 (2009-05-20) |
parents | 145e49b8574c |
children | 23f9857f642f |
files | tools/python/xen/xend/XendDomainInfo.py |
line diff
1.1 --- a/tools/python/xen/xend/XendDomainInfo.py Tue May 19 23:44:28 2009 +0100 1.2 +++ b/tools/python/xen/xend/XendDomainInfo.py Wed May 20 15:13:36 2009 +0100 1.3 @@ -1235,7 +1235,6 @@ class XendDomainInfo: 1.4 return [] 1.5 dev_uuid = sxp.child_value(dev_info, 'uuid') 1.6 pci_devs = self.info['devices'][dev_uuid][1]['devs'] 1.7 - pci_len = len(pci_devs) 1.8 return pci_devs 1.9 if self._stateGet() in (DOM_STATE_RUNNING, DOM_STATE_PAUSED, DOM_STATE_CRASHED): 1.10 return self.getDeviceController(deviceClass).sxprs()