WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] [Bug 936] Fix "cpus" in config.sxp

To: xen-devel@xxxxxxxxxxxxxxxxxxx, ewan@xxxxxxxxxxxxx
Subject: Re: [Xen-devel] [PATCH] [Bug 936] Fix "cpus" in config.sxp
From: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Date: Sat, 31 Mar 2007 01:44:20 +0900
Delivery-date: Fri, 30 Mar 2007 17:46:57 +0100
Envelope-to: Keir.Fraser@xxxxxxxxxxxx
In-reply-to: <2C77086827ED1kanno.masaki@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <2C77086827ED1kanno.masaki@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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 <kanno.masaki@xxxxxxxxxxxxxx>
>
>Best regards,
> Kan
>
>
>-------------------------------text/plain-------------------------------
>_______________________________________________
>Xen-devel mailing list
>Xen-devel@xxxxxxxxxxxxxxxxxxx
>http://lists.xensource.com/xen-devel



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


<Prev in Thread] Current Thread [Next in Thread>