Re: [Xen-devel] [PATCH v1 11/13] tools: implemet new get value interface suitable for all psr allocation features

2017-08-22 Thread Chao Peng
On Tue, 2017-08-22 at 10:24 +0800, Yi Sun wrote: > On 17-08-21 18:14:49, Chao Peng wrote: > > > > > > > > > >   > > > -static void libxl__psr_cat_log_err_msg(libxl__gc *gc, int err) > > > +static void libxl__psr_alloc_log_err_msg(libxl__gc *gc, > > > + 

Re: [Xen-devel] [PATCH v1 11/13] tools: implemet new get value interface suitable for all psr allocation features

2017-08-21 Thread Yi Sun
On 17-08-21 18:14:49, Chao Peng wrote: > > >   > > -static void libxl__psr_cat_log_err_msg(libxl__gc *gc, int err) > > +static void libxl__psr_alloc_log_err_msg(libxl__gc *gc, > > + int err, > > + libxl_psr_cbm_type

Re: [Xen-devel] [PATCH v1 11/13] tools: implemet new get value interface suitable for all psr allocation features

2017-08-21 Thread Chao Peng
>   > -static void libxl__psr_cat_log_err_msg(libxl__gc *gc, int err) > +static void libxl__psr_alloc_log_err_msg(libxl__gc *gc, > + int err, > + libxl_psr_cbm_type type) >  { > +/* > + * Index is

Re: [Xen-devel] [PATCH v1 11/13] tools: implemet new get value interface suitable for all psr allocation features

2017-08-15 Thread Wei Liu
On Wed, Aug 09, 2017 at 03:41:50PM +0800, Yi Sun wrote: > This patch implements a new get value interface in tools suitable for all psr > allocation features and the whole flow. It also enables MBA support in tools > to get MBA value. > > Signed-off-by: Yi Sun Again, I

[Xen-devel] [PATCH v1 11/13] tools: implemet new get value interface suitable for all psr allocation features

2017-08-09 Thread Yi Sun
This patch implements a new get value interface in tools suitable for all psr allocation features and the whole flow. It also enables MBA support in tools to get MBA value. Signed-off-by: Yi Sun --- tools/libxc/include/xenctrl.h | 7 +- tools/libxc/xc_psr.c