Re: [Xen-devel] [PATCH v3 11/15] tools: implement the new xl get hw info interface

2017-09-19 Thread Yi Sun
On 17-09-19 11:32:19, Roger Pau Monn� wrote: > On Tue, Sep 05, 2017 at 05:32:33PM +0800, Yi Sun wrote: > > index 6baaed2..a01245d 100644 > > --- a/tools/xl/xl_cmdtable.c > > +++ b/tools/xl/xl_cmdtable.c > > +static int psr_mba_hwinfo(void) > > +{ > > +int rc; > > +unsigned int i, nr; > > +

Re: [Xen-devel] [PATCH v3 11/15] tools: implement the new xl get hw info interface

2017-09-19 Thread Roger Pau Monné
On Tue, Sep 05, 2017 at 05:32:33PM +0800, Yi Sun wrote: > This patch implements a new xl get HW info interface. A new argument > is added for psr-hwinfo command to get and show MBA HW info. > > Signed-off-by: Yi Sun > --- > v3: > - change the format string of printf in 'psr_mba_hwinfo'. >

[Xen-devel] [PATCH v3 11/15] tools: implement the new xl get hw info interface

2017-09-05 Thread Yi Sun
This patch implements a new xl get HW info interface. A new argument is added for psr-hwinfo command to get and show MBA HW info. Signed-off-by: Yi Sun --- v3: - change the format string of printf in 'psr_mba_hwinfo'. (suggested by Roger Pau Monné) - add 'const' for 'opts[]' in 'mai