From: Ian Jackson Subject: Re: [PATCH v6 05/11] libxl: introduce libxl__device_disk_add Date: Fri, 18 May 2012 15:36:23 +0100 Message-ID: <20406.24167.894794.935567@mariner.uk.xensource.com> References: <1337350125-30394-5-git-send-email-stefano.stabellini@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1337350125-30394-5-git-send-email-stefano.stabellini@eu.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: Stefano Stabellini Cc: "xen-devel@lists.xensource.com" , Ian Campbell List-Id: xen-devel@lists.xenproject.org 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 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. Ian.