Simon Horman
2009-May-20 00:17 UTC
[Xen-devel] [patch] xend: remove supurious 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> diff -r 40d4267296ad tools/python/xen/xend/XendDomainInfo.py --- a/tools/python/xen/xend/XendDomainInfo.py Fri May 15 08:12:39 2009 +0100 +++ b/tools/python/xen/xend/XendDomainInfo.py Wed May 20 10:05:59 2009 +1000 @@ -1197,7 +1197,6 @@ return [] dev_uuid = sxp.child_value(dev_info, ''uuid'') pci_devs = self.info[''devices''][dev_uuid][1][''devs''] - pci_len = len(pci_devs) return pci_devs if self._stateGet() in (DOM_STATE_RUNNING, DOM_STATE_PAUSED, DOM_STATE_CRASHED): return self.getDeviceController(deviceClass).sxprs() _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel