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

[Xen-devel] Re: [PATCH] remove extra field from vcpuinfo python binding




On 18 Oct 2005, at 00:08, Ryan Harper wrote:

There are only six fields in vcpuinfo, also cpumap_t is a u64, so use
[1]"K" for parsing cpumap.

1. http://www.python.org/doc/2.4.1/api/arg-parsing.html

I won't change to 'K' because that is not supported by Python 2.2, and also because it leaves the cpumap argument to domain_pincpu() as an 'i'.

Furthermore, I disagree with exporting cpu bitmaps into Python. I think it would be much nicer to pass lists of cpus (i.e., lists of ints) to and fro at that interface, and have xc.c do the conversion between lists and bitmaps. I would gladly take a patch that implements this.

 -- Keir


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