xend: remove supurious pci_len from getDeviceSxprs
PATCH 1/1 xend: remove supurious pci_len from getDeviceSxprs
Cc Zhai Edwin <[email protected]>
Cc Masaki Kanno <[email protected]>
Cc Dexuan Cui <[email protected]>
Signed-off-by Simon Horman <[email protected]>
tools/python/xen/xend/XendDomainInfo.py +0 -1
@@ -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()