From: Ian Jackson Subject: Re: [PATCH v3 1/7] libxl: libxl__device_disk_local_attach return a new libxl_device_disk Date: Tue, 17 Apr 2012 18:25:46 +0100 Message-ID: <20365.42906.867250.920616@mariner.uk.xensource.com> References: <1334601190-14187-1-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: <1334601190-14187-1-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@citrix.com List-Id: xen-devel@lists.xenproject.org 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. Would it be easy to separate those out or should I do some kind of manual hack to compare the old and new code ? Ian.