debuggers.hg

changeset 20680:73ff2d056e36

xend: fix a typo introduced by changeset 20621:f9392f6eda79

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Dec 14 07:58:47 2009 +0000 (2009-12-14)
parents 4bb3933ab001
children 7088591b454b
files tools/python/xen/xend/XendDomainInfo.py
line diff
     1.1 --- a/tools/python/xen/xend/XendDomainInfo.py	Mon Dec 14 07:58:15 2009 +0000
     1.2 +++ b/tools/python/xen/xend/XendDomainInfo.py	Mon Dec 14 07:58:47 2009 +0000
     1.3 @@ -2672,7 +2672,7 @@ class XendDomainInfo:
     1.4                  for i in range(0, nr_nodes):
     1.5                      nodeload[i] = int(nodeload[i] * 16 / len(info['node_to_cpu'][i]))
     1.6                      if len(info['node_to_cpu'][i]) == 0 or i not in node_list:
     1.7 -                        nodelist[i] += 8
     1.8 +                        nodeload[i] += 8
     1.9                  return map(lambda x: x[0], sorted(enumerate(nodeload), key=lambda x:x[1]))
    1.10  
    1.11              info = xc.physinfo()