[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 4/7] xl: enable using ranges of pCPUs when manipulating cpupools
On Fri, Mar 13, 2015 at 12:09:32PM +0100, Dario Faggioli wrote: > in fact, right now, xl sub-commands 'cpupool-cpu-add' and > 'cpupool-cpu-remove' only accept the specification of one > pCPU to be added or removed to/from a cpupool. > > With this change, they can deal with ranges, like "4-8", > or "node:1,12-18,^14". The syntax is exactly the same one > that is supported by the 'vcpu-pin' subcommand, and > specifying just one pCPU still works, of course. > > This make things more flexible, more consistent, and also > improves error handling, as the pCPU range parsing routine > already present in xl is more reliable than just a call > to atoi(). > > Signed-off-by: Dario Faggioli <dario.faggioli@xxxxxxxxxx> > Cc: Ian Campbell <ian.campbell@xxxxxxxxxx> > Cc: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> > Cc: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx> > Cc: Wei Liu <wei.liu2@xxxxxxxxxx> > Cc: Juergen Gross <JGross@xxxxxxxx> Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx> _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |