From: Gianni Tedesco Subject: Re: [PATCH] libxl: do not rely on guest to respond when forcing pci device removal Date: Tue, 8 Mar 2011 15:04:45 +0000 Message-ID: <1299596685.17229.29.camel@qabil.uk.xensource.com> References: <5084214b8983045d789a.1299584945@localhost.localdomain> <1299588984.17229.5.camel@qabil.uk.xensource.com> <1299593826.17339.477.camel@zakaz.uk.xensource.com> <1299594943.17229.22.camel@qabil.uk.xensource.com> <1299595275.17339.502.camel@zakaz.uk.xensource.com> <1299596214.17229.24.camel@qabil.uk.xensource.com> <1299596299.17339.513.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1299596299.17339.513.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Campbell Cc: "xen-devel@lists.xensource.com" , Stabellini Stefano List-Id: xen-devel@lists.xenproject.org On Tue, 2011-03-08 at 14:58 +0000, Ian Campbell wrote: > > OK, fair enough. Honestly, I think my expectation for the detach case to > > be more as I stated, but I don't feel strongly about it and it would > > just add complexity to have it that way. > > That's the non--force'd way of doing it and AFAICT it behaves pretty > much as you describe. Except that the non-force way will bail if the guest doesn't respond and leave everything as it is so that the device can still function. How I described is try to play nice but before returning to caller - make sure everything is removed. Anyway, it's a minor point. Gianni