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

[Xen-changelog] [xen-unstable] xend: fix a typo introduced by changeset 20621:f9392f6eda79



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1260777527 0
# Node ID 73ff2d056e368e56cc85aa992de2bccc466ba92e
# Parent  4bb3933ab0017f004ebb69ad4752785cfae5aa9f
xend: fix a typo introduced by changeset 20621:f9392f6eda79

Signed-off-by: Dexuan Cui <dexuan.cui@xxxxxxxxx>
---
 tools/python/xen/xend/XendDomainInfo.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 4bb3933ab001 -r 73ff2d056e36 tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py   Mon Dec 14 07:58:15 2009 +0000
+++ b/tools/python/xen/xend/XendDomainInfo.py   Mon Dec 14 07:58:47 2009 +0000
@@ -2672,7 +2672,7 @@ class XendDomainInfo:
                 for i in range(0, nr_nodes):
                     nodeload[i] = int(nodeload[i] * 16 / 
len(info['node_to_cpu'][i]))
                     if len(info['node_to_cpu'][i]) == 0 or i not in node_list:
-                        nodelist[i] += 8
+                        nodeload[i] += 8
                 return map(lambda x: x[0], sorted(enumerate(nodeload), 
key=lambda x:x[1]))
 
             info = xc.physinfo()

_______________________________________________
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®.