[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] xend: remove spurious pci_len from getDeviceSxprs



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1242828816 -3600
# Node ID 070f456143d3f8c82436a2c774b09e57f848133a
# Parent  145e49b8574c8da3a72932a57c076227d38fee60
xend: remove spurious pci_len from getDeviceSxprs

Cc: Zhai Edwin <edwin.zhai@xxxxxxxxx>
Cc: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Cc: Dexuan Cui <dexuan.cui@xxxxxxxxx>
Signed-off-by: Simon Horman <horms@xxxxxxxxxxxx>
---
 tools/python/xen/xend/XendDomainInfo.py |    1 -
 1 files changed, 1 deletion(-)

diff -r 145e49b8574c -r 070f456143d3 tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py   Tue May 19 23:44:28 2009 +0100
+++ b/tools/python/xen/xend/XendDomainInfo.py   Wed May 20 15:13:36 2009 +0100
@@ -1235,7 +1235,6 @@ class XendDomainInfo:
                 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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.