From: Ian Jackson Subject: Re: [PATCH v1 05/12] libxl: add new hotplug interface support to hotplug script callers Date: Wed, 13 Mar 2013 14:53:31 +0000 Message-ID: <20800.37611.213635.307260@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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1358963317-10221-6-git-send-email-roger.pau@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 ("[Xen-devel] [PATCH v1 05/12] libxl: add new hotplug interface support to hotplug script callers"): > Add support to call hotplug scripts that use the new hotplug interface > to the low-level functions in charge of calling hotplug scripts. > > libxl__prepare_ao_device sets the hotplug version to 1, in later > patches hotplug version will be set to 2 by the caller to use this > new hotplug calling convention. 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. And then when you do that, there are things about the old calling convention which are distinctly dodgy and should perhaps be changed. Is this autoprobing with the "version" argument really the best way to deal with compatibility ? I guess we do know that it's reliable. Ian.