From: Ian Jackson Subject: Re: Basic blktap2 functionality issues. Date: Mon, 2 Apr 2012 16:51:47 +0100 Message-ID: <20345.51987.737417.316381@mariner.uk.xensource.com> References: <201203291439.q2TEdJKL006923@wind.enjellic.com> <1333095477.15932.26.camel@zakaz.uk.xensource.com> <1333106583.15932.94.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1333106583.15932.94.camel@zakaz.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 Campbell Cc: "greg@enjellic.com" , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [Xen-devel] Basic blktap2 functionality issues."): > On Fri, 2012-03-30 at 09:17 +0100, Ian Campbell wrote: > > I think an approach worth trying would be to have > > tapdisk_control_detach_vbd respond to TAPDISK_MESSAGE_DETACH before > > doing the actual detach. i.e. it would respond with "Yes, I will do > > that" rather than "Yes, I have done that". My speculation is that this > > will allow libxl to continue and hopefully avoid the deadlock. > > This seems to be the case as the following fixes things for me. Thanks > very much for your analysis which lead me to this solution... Greg, can you confirm whether this works for you ? Ian.