|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] Fix showing of CPU Affinity by xm vcpu-li
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1211186762 -3600
# Node ID 8dce20be0bd5a4d3abaebb84b3c749e8d69bfb48
# Parent e66aefdfedcca8319f7ecf9c8d742ae157c2d690
Fix showing of CPU Affinity by xm vcpu-list
Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
---
tools/python/xen/xm/main.py | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -r e66aefdfedcc -r 8dce20be0bd5 tools/python/xen/xm/main.py
--- a/tools/python/xen/xm/main.py Mon May 19 09:43:42 2008 +0100
+++ b/tools/python/xen/xm/main.py Mon May 19 09:46:02 2008 +0100
@@ -1096,7 +1096,7 @@ def xm_vcpu_list(args):
# normalize cpumap by modulus nr_cpus, and drop duplicates
cpumap = dict.fromkeys(
- map(lambda x: x % nr_cpus, cpumap)).keys()
+ filter(lambda x: x < nr_cpus, cpumap)).keys()
if len(cpumap) == nr_cpus:
return "any cpu"
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] Fix showing of CPU Affinity by xm vcpu-list,
Xen patchbot-unstable <=
|
|
|
|
|