Re: [Xen-devel] [PATCH v4 11/12] tools: add tools support for Intel CAT

2015-04-16 Thread Ian Campbell
On Thu, 2015-04-09 at 17:18 +0800, Chao Peng wrote: > +=item B [I] [I] [I] > + > +Set cache capacity bitmasks(CBM) for a domain. I can see from the example in the commit log that I is a number, but a) I can't tell that from these docs and b) I have no idea what that number actually does based on

Re: [Xen-devel] [PATCH v4 11/12] tools: add tools support for Intel CAT

2015-04-09 Thread Wei Liu
On Thu, Apr 09, 2015 at 05:18:24PM +0800, Chao Peng wrote: [...] > +int libxl_psr_cat_get_l3_info(libxl_ctx *ctx, libxl_psr_cat_info **info, > + uint32_t *nr) > +{ > +GC_INIT(ctx); > +int rc; > +uint32_t i, nr_sockets; > +libxl_psr_cat_info *ptr; > + > +

[Xen-devel] [PATCH v4 11/12] tools: add tools support for Intel CAT

2015-04-09 Thread Chao Peng
This is the xc/xl changes to support Intel Cache Allocation Technology(CAT). Two commands are introduced: - xl psr-cat-cbm-set [-s socket] Set cache capacity bitmasks(CBM) for a domain. - xl psr-cat-show Show Cache Allocation Technology information. Examples: [root@vmm-psr]# xl psr-cat-cbm-