From: Ian Campbell Subject: Re: [PATCH 02/20] libxl: fix hang due to libxl__initiate_device_remove Date: Mon, 19 Mar 2012 17:29:53 +0000 Message-ID: <1332178193.9223.141.camel@zakaz.uk.xensource.com> References: <1331915215-10477-1-git-send-email-ian.jackson@eu.citrix.com> <1331915215-10477-3-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1331915215-10477-3-git-send-email-ian.jackson@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: Ian Jackson Cc: Roger Pau Monne , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Fri, 2012-03-16 at 16:26 +0000, Ian Jackson wrote: > libxl__initiate_device_remove might discover that the operation was > complete, immediately (typically, if the device is already removed). > > Previously, in this situation, it would return 0 to the caller but > never call libxl__ao_complete. Fix this. This necessitates passing > the egc in from the functions which are the ao initiators. > > Signed-off-by: Ian Jackson > Cc: Roger Pau Monne Acked-by: Ian Campbell