[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 2/3] xend: Add multiple cpumasks support
On 14/8/06 6:48 pm, "Ryan Harper" <ryanh@xxxxxxxxxx> wrote: >> >> I'm not sure about the use of ', ' as a delimiter. It would be less >> confusing to strictly require the use of the list form. I would imagine it's >> then clearest used as: >> Cpus = [] >> Cpus[0] = '2-5' >> Cpus[1] = '3-4' >> ... > > I'd prefer to not have to use any language arrays. I'm not sure how > this will map to the xml-based config files that Ewan was talking about, > but I suppose he will have to come up with something since we have > things like the disk parameter which is in python list format. I think that'll be a different format again. Perhaps a separate cpu-info section of the file for each VCPU, within which we specify the affinity info. I'm pretty sure we won't go for a single string with whitespace delimiters! Anyhow, the current patch does have flexibility in its favour, since it supports the list format *and* the string format. So I guess it's okay really. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |