From: Ian Jackson Subject: Re: [PATCH v2 07/15] libxl: convert libxl_domain_destroy to an async op Date: Tue, 22 May 2012 18:48:46 +0100 Message-ID: <20411.53630.887336.519330@mariner.uk.xensource.com> References: <1337695365-5142-1-git-send-email-roger.pau@citrix.com> <1337695365-5142-8-git-send-email-roger.pau@citrix.com> <20411.50812.100404.117424@mariner.uk.xensource.com> <4FBBCD24.5050604@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4FBBCD24.5050604@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: Roger Pau Monne Cc: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org Roger Pau Monne writes ("Re: [PATCH v2 07/15] libxl: convert libxl_domain_destroy to an async op"): > Ian Jackson wrote: > > [...] > > I will apply the block of changes that I've removed from this reply. > > >> +static void device_remove_callback(libxl__egc *egc, libxl__ao_device *aorm) ... > > I don't understand why this is here in this patch. Surely it belongs > > in the previous one ? > > Not really, because libxl__destroy_devices is called from > libxl_domain_destroy, which does not ao until this patch, so this > callback is the libxl__devices_destroy one (which was not async in > previous patches), since it called libxl__device_destroy instead of > libxl__initiate_device_remove. Oh, yes, of course. Thanks. Ian.