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

2017-09-19 Thread Yi Sun
On 17-09-19 11:28:18, Roger Pau Monn� wrote: > On Tue, Sep 05, 2017 at 05:32:32PM +0800, Yi Sun wrote: > > diff --git a/tools/libxl/libxl_psr.c b/tools/libxl/libxl_psr.c > > index dd412cc..d534ec2 100644 > > --- a/tools/libxl/libxl_psr.c > > +++ b/tools/libxl/libxl_psr.c > > @@ -382,60 +382,49 @@ s

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

2017-09-19 Thread Roger Pau Monné
On Tue, Sep 05, 2017 at 05:32:32PM +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 v3 10/15] tools: implement the new libxl get hw info interface

2017-09-05 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