[Xen-devel] [PATCH 4/4] libxl/xl: allow to get and set cap on Credit2.

2017-06-08 Thread Dario Faggioli
Note that a cap is considered valid only if it is within the [1, nr_vcpus]% interval. Signed-off-by: Dario Faggioli --- Cc: Wei Liu Cc: Ian Jackson Cc: George Dunlap Cc: Anshul Makkar --- tools/libxl/libxl_sched.c | 21 + tools/xl/xl_cmdtable.c|1 + tools/xl/xl_

Re: [Xen-devel] [PATCH 4/4] libxl/xl: allow to get and set cap on Credit2.

2017-06-09 Thread Wei Liu
On Thu, Jun 08, 2017 at 02:09:09PM +0200, Dario Faggioli wrote: > Note that a cap is considered valid only if > it is within the [1, nr_vcpus]% interval. > > Signed-off-by: Dario Faggioli Acked-by: Wei Liu ___ Xen-devel mailing list Xen-devel@lists.x

Re: [Xen-devel] [PATCH 4/4] libxl/xl: allow to get and set cap on Credit2.

2017-06-28 Thread George Dunlap
On Thu, Jun 8, 2017 at 1:09 PM, Dario Faggioli wrote: > Note that a cap is considered valid only if > it is within the [1, nr_vcpus]% interval. Oh, I see you added the check here. Still, I think we should add a check in the hypervisor too. The check here should mainly be to give a reasonable er

Re: [Xen-devel] [PATCH 4/4] libxl/xl: allow to get and set cap on Credit2.

2017-06-29 Thread Dario Faggioli
On Wed, 2017-06-28 at 19:43 +0100, George Dunlap wrote: > On Thu, Jun 8, 2017 at 1:09 PM, Dario Faggioli > wrote: > > Note that a cap is considered valid only if > > it is within the [1, nr_vcpus]% interval. > > Oh, I see you added the check here. > Yeah... > Still, I think we should add a chec