From: Ian Campbell Subject: Re: [PATCH v1 1/2] libxl: give pciback a chance to do its teardown before we reset the device. Date: Fri, 6 Jun 2014 10:07:59 +0100 Message-ID: <1402045679.29759.35.camel@kazak.uk.xensource.com> References: <1401888813-30987-1-git-send-email-konrad.wilk@oracle.com> <1401888813-30987-2-git-send-email-konrad.wilk@oracle.com> <1401965922.29759.6.camel@kazak.uk.xensource.com> <20140605174142.GB2546@localhost.localdomain> <21392.44867.28068.910923@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Wsq8U-0001Rj-6z for xen-devel@lists.xenproject.org; Fri, 06 Jun 2014 09:08:30 +0000 In-Reply-To: <21392.44867.28068.910923@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.xenproject.org List-Id: xen-devel@lists.xenproject.org On Thu, 2014-06-05 at 18:56 +0100, Ian Jackson wrote: > Konrad Rzeszutek Wilk writes ("Re: [PATCH v1 1/2] libxl: give pciback a chance to do its teardown before we reset the device."): > > On Thu, Jun 05, 2014 at 11:58:42AM +0100, Ian Campbell wrote: > > > I think we would obviously prefer the former, meaning there should be a > > > call to libxl__wait_for_backend("6") in here somewhere I think. > > > > Yeah, that would be smarter. > > No new callers of libxl__wait_for_backend should be introduced. It's > a synchronous sleeper. What's the proper mechanism then?