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

2017-08-31 Thread Yi Sun
On 17-08-31 09:43:51, Roger Pau Monn� wrote: > On Thu, Aug 31, 2017 at 01:57:09PM +0800, Yi Sun wrote: > > On 17-08-30 10:23:18, Roger Pau Monn� wrote: > > > On Thu, Aug 24, 2017 at 09:14:45AM +0800, Yi Sun wrote: > > > > +static int psr_mba_hwinfo(void) > > > > +{ > > > > +int rc; > > > > +

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

2017-08-31 Thread Roger Pau Monn�
On Thu, Aug 31, 2017 at 01:57:09PM +0800, Yi Sun wrote: > On 17-08-30 10:23:18, Roger Pau Monn� wrote: > > On Thu, Aug 24, 2017 at 09:14:45AM +0800, Yi Sun wrote: > > > +static int psr_mba_hwinfo(void) > > > +{ > > > +int rc; > > > +unsigned int i, nr; > > > +libxl_psr_hw_info *info; >

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

2017-08-30 Thread Yi Sun
On 17-08-30 10:23:18, Roger Pau Monn� wrote: > On Thu, Aug 24, 2017 at 09:14:45AM +0800, Yi Sun wrote: > > +static int psr_mba_hwinfo(void) > > +{ > > +int rc; > > +unsigned int i, nr; > > +libxl_psr_hw_info *info; > > + > > +rc = libxl_psr_get_hw_info(ctx, , , > > +

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

2017-08-30 Thread Roger Pau Monné
On Thu, Aug 24, 2017 at 09:14:45AM +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 > --- > v2: > - split out this patch from a big

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

2017-08-23 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 --- v2: - split out this patch from a big patch in v1. (suggested by Wei Liu) - change 'MBA_INFO' to