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

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



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

Attachment: bug936.patch
Description: Binary data

_______________________________________________
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®.