Re: [Xen-devel] [PATCH 2/2] tools/libxl: Introduce LIBXL_CPUPOOL_POOLID_ANY

2017-02-14 Thread George Dunlap
On Tue, Feb 14, 2017 at 10:29 AM, Wei Liu wrote: > On Thu, Feb 09, 2017 at 11:35:16AM +, George Dunlap wrote: >> No. This is why I'm bothering to paint this bikeshed: In every context >> *except* "cpupool create", 0 means cpupool0 -- the one that was created >> at boot, which always contains

Re: [Xen-devel] [PATCH 2/2] tools/libxl: Introduce LIBXL_CPUPOOL_POOLID_ANY

2017-02-14 Thread Wei Liu
On Thu, Feb 09, 2017 at 11:35:16AM +, George Dunlap wrote: > On 09/02/17 11:24, Wei Liu wrote: > > On Thu, Feb 09, 2017 at 11:17:46AM +, George Dunlap wrote: > >> On 09/02/17 10:35, Wei Liu wrote: > >>> On Wed, Feb 08, 2017 at 04:17:58PM +, George Dunlap wrote: > On 08/02/17 16:11,

Re: [Xen-devel] [PATCH 2/2] tools/libxl: Introduce LIBXL_CPUPOOL_POOLID_ANY

2017-02-09 Thread George Dunlap
On 09/02/17 11:24, Wei Liu wrote: > On Thu, Feb 09, 2017 at 11:17:46AM +, George Dunlap wrote: >> On 09/02/17 10:35, Wei Liu wrote: >>> On Wed, Feb 08, 2017 at 04:17:58PM +, George Dunlap wrote: On 08/02/17 16:11, Dario Faggioli wrote: > On Wed, 2017-02-08 at 14:51 +, George Du

Re: [Xen-devel] [PATCH 2/2] tools/libxl: Introduce LIBXL_CPUPOOL_POOLID_ANY

2017-02-09 Thread Wei Liu
On Thu, Feb 09, 2017 at 11:17:46AM +, George Dunlap wrote: > On 09/02/17 10:35, Wei Liu wrote: > > On Wed, Feb 08, 2017 at 04:17:58PM +, George Dunlap wrote: > >> On 08/02/17 16:11, Dario Faggioli wrote: > >>> On Wed, 2017-02-08 at 14:51 +, George Dunlap wrote: > Callers to libxl_c

Re: [Xen-devel] [PATCH 2/2] tools/libxl: Introduce LIBXL_CPUPOOL_POOLID_ANY

2017-02-09 Thread George Dunlap
On 09/02/17 10:35, Wei Liu wrote: > On Wed, Feb 08, 2017 at 04:17:58PM +, George Dunlap wrote: >> On 08/02/17 16:11, Dario Faggioli wrote: >>> On Wed, 2017-02-08 at 14:51 +, George Dunlap wrote: Callers to libxl_cpupool_create() can either request a specific pool id, or request th

Re: [Xen-devel] [PATCH 2/2] tools/libxl: Introduce LIBXL_CPUPOOL_POOLID_ANY

2017-02-09 Thread Wei Liu
On Wed, Feb 08, 2017 at 04:17:58PM +, George Dunlap wrote: > On 08/02/17 16:11, Dario Faggioli wrote: > > On Wed, 2017-02-08 at 14:51 +, George Dunlap wrote: > >> Callers to libxl_cpupool_create() can either request a specific pool > >> id, or request that Xen do it for them. But at the mo

Re: [Xen-devel] [PATCH 2/2] tools/libxl: Introduce LIBXL_CPUPOOL_POOLID_ANY

2017-02-08 Thread George Dunlap
On 08/02/17 16:11, Dario Faggioli wrote: > On Wed, 2017-02-08 at 14:51 +, George Dunlap wrote: >> Callers to libxl_cpupool_create() can either request a specific pool >> id, or request that Xen do it for them. But at the moment, the >> "automatic" selection is indicated by using a magic value,

Re: [Xen-devel] [PATCH 2/2] tools/libxl: Introduce LIBXL_CPUPOOL_POOLID_ANY

2017-02-08 Thread Dario Faggioli
On Wed, 2017-02-08 at 14:51 +, George Dunlap wrote: > Callers to libxl_cpupool_create() can either request a specific pool > id, or request that Xen do it for them.  But at the moment, the > "automatic" selection is indicated by using a magic value, 0.  This > is > undesirable both because it d