Re: [Xen-devel] [PATCH 01/35] libxl: Make libxl_domain_unpause async

2019-09-18 Thread Ian Jackson
Anthony PERARD writes ("Re: [PATCH 01/35] libxl: Make libxl_domain_unpause async"): > I thought that HAVE_* wasn't needed when the API version is bumped. But > now I guess that the HAVE_* macro are the only way for an application > to build against old version of libxl since the version number isn

Re: [Xen-devel] [PATCH 01/35] libxl: Make libxl_domain_unpause async

2019-09-18 Thread Anthony PERARD
On Tue, Sep 17, 2019 at 05:50:05PM +0100, Ian Jackson wrote: > Anthony PERARD writes ("[PATCH 01/35] libxl: Make libxl_domain_unpause > async"): > > libxl_domain_unpause needs to make QMP calls, which are asynchronous, > > change the API to reflect that. > > > > Do the same with libxl_domain_paus

Re: [Xen-devel] [PATCH 01/35] libxl: Make libxl_domain_unpause async

2019-09-17 Thread Ian Jackson
Anthony PERARD writes ("[PATCH 01/35] libxl: Make libxl_domain_unpause async"): > libxl_domain_unpause needs to make QMP calls, which are asynchronous, > change the API to reflect that. > > Do the same with libxl_domain_pause async, even if it will keep > completing synchronously. Jolly good. I

[Xen-devel] [PATCH 01/35] libxl: Make libxl_domain_unpause async

2019-08-02 Thread Anthony PERARD
libxl_domain_unpause needs to make QMP calls, which are asynchronous, change the API to reflect that. Do the same with libxl_domain_pause async, even if it will keep completing synchronously. Also fix some coding style issue in those functions. Signed-off-by: Anthony PERARD --- tools/libxl/lib