From: Ian Jackson Subject: Re: [PATCH v1 05/12] libxl: add new hotplug interface support to hotplug script callers Date: Wed, 13 Mar 2013 16:10:04 +0000 Message-ID: <20800.42204.657361.448395@mariner.uk.xensource.com> References: <1358963317-10221-1-git-send-email-roger.pau@citrix.com> <1358963317-10221-6-git-send-email-roger.pau@citrix.com> <20800.37611.213635.307260@mariner.uk.xensource.com> <5140A3A8.7040400@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5140A3A8.7040400@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Roger Pau Monne Cc: Ian Campbell , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org Roger Pau Monne writes ("Re: [Xen-devel] [PATCH v1 05/12] libxl: add new hotplug interface support to hotplug script callers"): > On 13/03/13 15:53, Ian Jackson wrote: > > I think this needs a comprehensive document describing the new calling > > convention. Since there isn't currently a document describing the old > > calling convention I think you may need to do some reverse > > engineering. > > Patch 11/12 adds a document describing the new calling convention. Surely this should be in the same patch ? In general the document for something should be in the same patch as the code that introduces it. TBH I'm not sure I understand the division between the various patches. > > And then when you do that, there are things about the old calling > > convention which are distinctly dodgy and should perhaps be changed. > > I would prefer to avoid touching anything related to the old calling > convention, mainly because I would like to avoid touching the old > hotplug scripts in this series, and because there might be out-of-tree > hotplug scripts relaying on some of this obscure features. Yes, of course. Sorry, I was unclear. I meant that there were aspects about the old calling convention which you are inheriting into the new one which may want to be revisited. > I think it's quite reliable, unless someone has an out-of-tree v1 > hotplug script that implements this parameter, but I don't think this is > going to be the case. Right. Ian.