tools: L2 CAT: support show cbm for L2 CAT.
authorYi Sun <yi.y.sun@linux.intel.com>
Tue, 1 Aug 2017 09:05:00 +0000 (11:05 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 3 Aug 2017 10:39:43 +0000 (12:39 +0200)
commit54be79e375d93329315eaf40dab1fff7afcb19b1
tree4fc8f4701fb0dd9f85cb1e1df69218760ff3c9b0
parent451a0c39babec7842088dec35c2047b2235feaec
tools: L2 CAT: support show cbm for L2 CAT.

This patch implements changes in xl/xc changes to support
showing CBM of L2 CAT.

The new level option is introduced to original CAT showing
command in order to show CBM for specified level CAT.
- 'xl psr-cat-show' is updated to show CBM of a domain
  according to input cache level.

Examples:
root@:~$ xl psr-cat-show -l2 1
Socket ID       : 0
Default CBM     : 0xff
   ID                     NAME             CBM
    1                 ubuntu14            0x7f

Signed-off-by: He Chen <he.chen@linux.intel.com>
Signed-off-by: Yi Sun <yi.y.sun@linux.intel.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxc/include/xenctrl.h
tools/libxc/xc_psr.c
tools/xl/xl_cmdtable.c
tools/xl/xl_psr.c