|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] cpus configure analysis has easy miss: fixed
There are easy miss in cpus configuration analysis.
When using remove character '^', cpu number is accepted only single
figures.
This patch is fixed above problem.
diff -r 1e1107e3d894 tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py Wed Jan 11 19:14:27 2006
+++ b/tools/python/xen/xend/XendDomainInfo.py Fri Jan 13 06:19:23 2006
@@ -329,7 +329,7 @@
else:
# remove this element from the list
if c[0] == '^':
- cpus = [x for x in cpus if x != int(c[1])]
+ cpus = [x for x in cpus if x != int(c[1:])]
else:
cpus.append(int(c))
Satoshi UCHIDA
Attachment:
XendDomainInfo.patch _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |