[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.