[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 3 of 3] xl: allow for node-wise specification of vcpu pinning
On Thu, 2012-10-18 at 16:30 +0100, George Dunlap wrote: > On Tue, Oct 16, 2012 at 6:26 PM, Dario Faggioli > <dario.faggioli@xxxxxxxxxx> wrote: > > Making it possible to use something like the following: > > * "nodes:0-3": all pCPUs of nodes 0,1,2,3; > > * "nodes:0-3,^node:2": all pCPUS of nodes 0,1,3; > > * "1,nodes:1-2,^6": pCPU 1 plus all pCPUs of nodes 1,2 but not pCPU 6; > > * ... > > > > In both domain config file and `xl vcpu-pin'. > > > > Signed-off-by: Dario Faggioli <dario.faggioli@xxxxxxxxxx> > > Is it OK if I give this an "I'm OK with the idea but I'm too lazy to > figure out if the parsing code is doing the right thing" Ack? :-) > Well, it's certainly ok with me... :-) Actually, the new parsing code is nothing particularly sexy, and the only relevant bit is the one IanC commented about, i.e., checking for a "node:" substring at the beginning of each ',' separated element of the original string. That's it. The reason why this requires this whole lot of + lines is that I need a couple of nodemap where to store the data, and declaring, initializing, allocating and freeing them requires that. :-( Thanks and Regards, Dario -- <<This happens because I choose it to happen!>> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://retis.sssup.it/people/faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) Attachment:
signature.asc _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |