From mboxrd@z Thu Jan 1 00:00:00 1970 From: Masaki Kanno Subject: Re: [PATCH] [Bug 936] Fix "cpus" in config.sxp Date: Sat, 31 Mar 2007 01:44:20 +0900 Message-ID: <1DC772EAA9D5D3kanno.masaki@jp.fujitsu.com> References: <2C77086827ED1kanno.masaki@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <2C77086827ED1kanno.masaki@jp.fujitsu.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com, ewan@xensource.com List-Id: xen-devel@lists.xenproject.org Hi Ewan, Could you apply this patch? If without it, we must register domains by using the xm new command whenever we start xend. Or have you already prepared other patch which can solve this issue? If so, could you include it in Xen3.0.5? Best regards, Kan >Hi, > >I fixed the Xen bugzilla 936. >http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=936 > >Currently, "cpus" output to config.sxp is the following form. >Therefore _parse_sxp() cannot convert '[1' to integer. > > e.g. (cpus '[1, 2]') --- string > >This patch changes output form of "cpus". The form is as follows. > > e.g. (cpus (1 2)) > >However, the bug cannot be solved only by the change. When xend >is started, "cpus" of the SXP configuration passes to _parse_sxp() >in the following form. > > e.g. ['cpus': ['1', '2']] --- list of string > >Therefore this patch adds proceeding of to convert list of string >to list of integer for "cpus". > >Signed-off-by: Masaki Kanno > >Best regards, > Kan > > >-------------------------------text/plain------------------------------- >_______________________________________________ >Xen-devel mailing list >Xen-devel@lists.xensource.com >http://lists.xensource.com/xen-devel