From: Keir Fraser Date: Mon, 14 Dec 2009 07:58:47 +0000 (+0000) Subject: xend: fix a typo introduced by changeset 20621:f9392f6eda79 X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~12908 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=51dfdb01add6762cd3f992d942f1f9f8a4f359d1;p=xen.git xend: fix a typo introduced by changeset 20621:f9392f6eda79 Signed-off-by: Dexuan Cui --- diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py index ded9e11a7a..d6e7f69f61 100644 --- 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: - nodelist[i] += 8 + nodeload[i] += 8 return map(lambda x: x[0], sorted(enumerate(nodeload), key=lambda x:x[1])) info = xc.physinfo()