Re: [Xen-devel] [PATCH v1 09/13] tools: implement the new get hw info interface suitable to all psr allocation features

2017-08-21 Thread Yi Sun
On 17-08-21 18:13:07, Chao Peng wrote: > > >  int libxl_psr_cat_get_info(libxl_ctx *ctx, libxl_psr_cat_info **info, > > int *nr, unsigned int lvl) > >  { > >  GC_INIT(ctx); > >  int rc; > > -int i = 0, socketid, nr_sockets; > > -libxl_bitmap socketmap;

Re: [Xen-devel] [PATCH v1 09/13] tools: implement the new get hw info interface suitable to all psr allocation features

2017-08-21 Thread Chao Peng
>  int libxl_psr_cat_get_info(libxl_ctx *ctx, libxl_psr_cat_info **info, > int *nr, unsigned int lvl) >  { >  GC_INIT(ctx); >  int rc; > -int i = 0, socketid, nr_sockets; > -libxl_bitmap socketmap; > +unsigned int i; > +libxl_psr_hw_info

Re: [Xen-devel] [PATCH v1 09/13] tools: implement the new get hw info interface suitable to all psr allocation features

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

[Xen-devel] [PATCH v1 09/13] tools: implement the new get hw info interface suitable to all psr allocation features

2017-08-09 Thread Yi Sun
This patch implements a new get hw info interface suitable for all psr allocation features and the whole flow. It also enables MBA support in tools to get MBA HW info. Signed-off-by: Yi Sun --- v1: - remove the pointless initialization for 'xc_psr_feat_type'.