From: Ian Jackson Subject: Re: [PATCH v4 4/8] libxl: introduce libxl__device_disk_add_t Date: Tue, 24 Apr 2012 17:02:23 +0100 Message-ID: <20374.52879.886051.266867@mariner.uk.xensource.com> References: <1335264358-20182-4-git-send-email-stefano.stabellini@eu.citrix.com> <20374.51661.526651.289834@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20374.51661.526651.289834@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: Stefano Stabellini , xen-devel@lists.xensource.com, Ian.Campbell@citrix.com List-Id: xen-devel@lists.xenproject.org Ian Jackson writes ("Re: [Xen-devel] [PATCH v4 4/8] libxl: introduce libxl__device_disk_add_t"): > Stefano Stabellini writes ("[Xen-devel] [PATCH v4 4/8] libxl: introduce libxl__device_disk_add_t"): > > Introduce libxl__device_disk_add_t that takes an additional > > xs_transaction_t paramter. > > Names ending "_t" are reserved for the implementation. Sorry, I was unclear. I meant the C language implementation. So libxl may not introduce anything called "..._t". > But you can just call the internal function libxl__device_disk_add. > I think it's fine to internal and external functions which differ > only in _ and parameters, provided that there is no nontrivial > functionality in the external function. > > Apart from that it's rather hard to review because this patch seems to > have an awful lot of code motion mixed up with other changes. Ian.