From: Ian Campbell Subject: Re: [PATCH v3 1/7] libxl: libxl__device_disk_local_attach return a new libxl_device_disk Date: Wed, 18 Apr 2012 09:34:37 +0100 Message-ID: <1334738077.23948.138.camel@zakaz.uk.xensource.com> References: <1334601190-14187-1-git-send-email-stefano.stabellini@eu.citrix.com> <20365.42906.867250.920616@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20365.42906.867250.920616@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" , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Tue, 2012-04-17 at 18:25 +0100, Ian Jackson wrote: > Stefano Stabellini writes ("[Xen-devel] [PATCH v3 1/7] libxl: libxl__device_disk_local_attach return a new libxl_device_disk"): > > - make libxl_device_disk_local_attach/detach two internal functions; > > > > - pass a gc rather than a ctx to them; > > > > - introduce a new libxl_device_disk** parameter to > > libxl__device_disk_local_attach, the parameter is allocated on the gc by > > libxl__device_disk_local_attach. It is going to fill it with > > informations about the new locally attached disk. The new > > libxl_device_disk should be passed to libxl_device_disk_local_detach > > afterwards. > > Mixing the changes up with teh code motion makes this quite hard to > review. This was also going to be my first comment.