mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 02:30:03 +01:00
xend: fix a typo introduced by changeset 20621:f9392f6eda79
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
This commit is contained in:
1 parent
30acac4606
commit
51dfdb01ad
1 file changed
+1
-1
@@ -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()
|
||||
|
||||