From: Ian Campbell Subject: Re: 4.2 TODO update Date: Wed, 14 Mar 2012 16:51:46 +0000 Message-ID: <1331743906.23971.490.camel@zakaz.uk.xensource.com> References: <1331554278.23971.63.camel@zakaz.uk.xensource.com> <1331743682.3104.82.camel@Solace> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1331743682.3104.82.camel@Solace> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Dario Faggioli Cc: Ian Jackson , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Wed, 2012-03-14 at 16:48 +0000, Dario Faggioli wrote: > On Mon, 2012-03-12 at 12:11 +0000, Ian Campbell wrote: > > This update covers two weeks since I was away last week. > > > Hi, > > I think the below should be considered too, and I'm proposing it as a > (tools) blocker, as I really think it affects API stability. Sure. > I can take care of it, provided we have some preliminary > design-discussion. :-D A good starting point for discussion would be a proposed patch to libxl.h with associated inline documentation. > > > tools, blockers: > > * libxl stable API -- we would like 4.2 to define a stable API > > which downstream's can start to rely on not changing. Aspects of > > this are: > > * add libxl_defbool and generally try and arrange that > > memset(foo,0,...) requests the defaults (Ian Campbell, > > DONE) > > * Safe fork vs. fd handling hooks. This is an API > > addition, so maybe not required fro stable API, bit need > > to have for 4.2? (Ian J, patches posted) > > > * locking/serialization, e.g., for domain creation. As of now, > nothing is provided for this purpose, and downstream toolstacks have > to put their own mechanisms in place. E.g., xl uses a fcntl() lock > around the whole process of domain creation. It should OTOH be > libxl job to offer a set of hooks --properly placed within the > domain creation process-- for the downstreams to fill with the > proper callbacks. (Dario Faggioli) > > Thanks and Regards, > Dario >