projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30acac4
)
xend: fix a typo introduced by changeset 20621:f9392f6eda79
author
Keir Fraser
<keir.fraser@citrix.com>
Mon, 14 Dec 2009 07:58:47 +0000
(07:58 +0000)
committer
Keir Fraser
<keir.fraser@citrix.com>
Mon, 14 Dec 2009 07:58:47 +0000
(07:58 +0000)
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
tools/python/xen/xend/XendDomainInfo.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xend/XendDomainInfo.py
b/tools/python/xen/xend/XendDomainInfo.py
index ded9e11a7a17a4293e22eb521eec2305f78526b5..d6e7f69f61d31a3d5a66023fc6064262cc9f4c48 100644
(file)
--- a/
tools/python/xen/xend/XendDomainInfo.py
+++ b/
tools/python/xen/xend/XendDomainInfo.py
@@
-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:
- nodel
ist
[i] += 8
+ nodel
oad
[i] += 8
return map(lambda x: x[0], sorted(enumerate(nodeload), key=lambda x:x[1]))
info = xc.physinfo()