[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] xend can not start normally in the case of UP Domain0
If the kernel of Domain0 is UP, I can't start xend normally. It's caused by changeset 14139. The cause is: In the case of UP Domain0 (i.e. when I only build Xen0, the default kernel of Domain0 is UP), in tools/python/xen/xend/XendNode.py, len(cpuinfo) is 1, but len(self.cpus) is 8 in my host. The following patch can fix the issue. diff -r 50e0616fd012 tools/python/xen/xend/XendNode.py --- a/tools/python/xen/xend/XendNode.py Tue Feb 27 00:37:27 2007 +0000 +++ b/tools/python/xen/xend/XendNode.py Fri Mar 02 12:12:16 2007 +0800 @@ -97,6 +97,8 @@ class XendNode: for u in self.cpus.keys(): log.error(self.cpus[u]) number = self.cpus[u]['number'] + if number >= len(cpuinfo): + number = 0; log.error(number) log.error(cpuinfo) self.cpus[u].update( -- Dexuan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |