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

2017-08-31 Thread Yi Sun
On 17-08-31 10:32:09, Roger Pau Monn� wrote: > On Thu, Aug 31, 2017 at 05:19:56PM +0800, Yi Sun wrote: > > On 17-08-31 09:40:37, Roger Pau Monn� wrote: > > > On Thu, Aug 31, 2017 at 11:16:34AM +0800, Yi Sun wrote: > > > > On 17-08-30 10:15:22, Roger Pau Monn� wrote: > > > > > On Thu, Aug 24, 2017 a

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

2017-08-31 Thread Roger Pau Monn�
On Thu, Aug 31, 2017 at 05:19:56PM +0800, Yi Sun wrote: > On 17-08-31 09:40:37, Roger Pau Monn� wrote: > > On Thu, Aug 31, 2017 at 11:16:34AM +0800, Yi Sun wrote: > > > On 17-08-30 10:15:22, Roger Pau Monn� wrote: > > > > On Thu, Aug 24, 2017 at 09:14:44AM +0800, Yi Sun wrote: > > Has libxl_psr_cat

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

2017-08-31 Thread Yi Sun
On 17-08-31 09:40:37, Roger Pau Monn� wrote: > On Thu, Aug 31, 2017 at 11:16:34AM +0800, Yi Sun wrote: > > On 17-08-30 10:15:22, Roger Pau Monn� wrote: > > > On Thu, Aug 24, 2017 at 09:14:44AM +0800, Yi Sun wrote: > > > > int libxl_psr_cat_get_info(libxl_ctx *ctx, libxl_psr_cat_info **info, > > >

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

2017-08-31 Thread Roger Pau Monn�
On Thu, Aug 31, 2017 at 11:16:34AM +0800, Yi Sun wrote: > On 17-08-30 10:15:22, Roger Pau Monn� wrote: > > On Thu, Aug 24, 2017 at 09:14:44AM +0800, Yi Sun wrote: > > > diff --git a/tools/libxl/libxl_psr.c b/tools/libxl/libxl_psr.c > > > index b183305..d7da7d7 100644 > > > --- a/tools/libxl/libxl_p

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

2017-08-30 Thread Yi Sun
On 17-08-30 10:15:22, Roger Pau Monn� wrote: > On Thu, Aug 24, 2017 at 09:14:44AM +0800, Yi Sun wrote: > > diff --git a/tools/libxl/libxl_psr.c b/tools/libxl/libxl_psr.c > > index b183305..d7da7d7 100644 > > --- a/tools/libxl/libxl_psr.c > > +++ b/tools/libxl/libxl_psr.c > > @@ -382,56 +382,51 @@ s

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

2017-08-30 Thread Roger Pau Monné
On Thu, Aug 24, 2017 at 09:14:44AM +0800, Yi Sun wrote: > This patch implements the new libxl get hw info interface, > 'libxl_psr_get_hw_info', which is suitable to all psr allocation > features. It also implements corresponding list free function, > 'libxl_psr_hw_info_list_free' and make 'libxl_ps

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

2017-08-23 Thread Yi Sun
This patch implements the new libxl get hw info interface, 'libxl_psr_get_hw_info', which is suitable to all psr allocation features. It also implements corresponding list free function, 'libxl_psr_hw_info_list_free' and make 'libxl_psr_cat_get_info' to call 'libxl_psr_get_hw_info' to avoid redunda