From: Stefano Stabellini Subject: Re: [PATCH v6 05/11] libxl: introduce libxl__device_disk_add Date: Mon, 21 May 2012 17:30:45 +0100 Message-ID: References: <1337350125-30394-5-git-send-email-stefano.stabellini@eu.citrix.com> <20406.24167.894794.935567@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20406.24167.894794.935567@mariner.uk.xensource.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: Ian Jackson Cc: "xen-devel@lists.xensource.com" , Ian Campbell , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Fri, 18 May 2012, Ian Jackson wrote: > Stefano Stabellini writes ("[PATCH v6 05/11] libxl: introduce libxl__device_disk_add"): > > Introduce libxl__device_disk_add that takes an additional > > xs_transaction_t paramter. > > Implement libxl_device_disk_add using libxl__device_disk_add. > > Can't this be done in such a way that the diff isn't "delete this > function completely" followed by "here is a new function" ? I don't know. Do you have any suggestions? TBH if I were you, I would just open two terminals and compare line by line, but let me know if you want to do something specific.. > I don't really understand why you want to move the function at all, > TBH. I think keeping the public wrapper and the internal > implementation together is fine. There is no need IMO to move the > internal function to libxl_internal.c. ATM there are no hidden functions in libxl.c. Do you want to change this "policy"?