Re: [Xen-devel] [PATCH 16/29] libxl: ao: Provide manip_refcnt

2015-04-01 Thread Ian Campbell
On Tue, 2015-03-31 at 19:23 +0100, Ian Jackson wrote: > Ian Campbell writes ("Re: [Xen-devel] [PATCH 16/29] libxl: ao: Provide > manip_refcnt"): > > On Tue, 2015-02-10 at 20:10 +, Ian Jackson wrote: > > > +/* > > > + * A "manip" is a

Re: [Xen-devel] [PATCH 16/29] libxl: ao: Provide manip_refcnt

2015-03-31 Thread Ian Jackson
Ian Campbell writes ("Re: [Xen-devel] [PATCH 16/29] libxl: ao: Provide manip_refcnt"): > On Tue, 2015-02-10 at 20:10 +, Ian Jackson wrote: > > +/* > > + * A "manip" is a libxl public function manipulating this ao, which > > + * has a pointer to it. W

Re: [Xen-devel] [PATCH 16/29] libxl: ao: Provide manip_refcnt

2015-03-24 Thread Ian Campbell
On Tue, 2015-02-10 at 20:10 +, Ian Jackson wrote: > +/* > + * A "manip" is a libxl public function manipulating this ao, which > + * has a pointer to it. We have to not destroy it while that's the > + * case, obviously. It might be nice to the reader to make a reference to the "An ao and its

[Xen-devel] [PATCH 16/29] libxl: ao: Provide manip_refcnt

2015-02-10 Thread Ian Jackson
Previously we used in_initiator to stop the ao being freed while we were still in the initiator function (which would result in the initiator's call to lixl__ao_inprogress accessing the ao after it had been freed). We are going to introduce a new libxl entrypoint which finds, and operates on, ongo