[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [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:
> On Wed, 2014-06-04 at 09:33 -0400, Konrad Rzeszutek Wilk wrote:
> > We try to reset the device before we signal the pciback that
> > the device is no longer to be used by the guest. As such
> > we should give the pciback (or QEMU) a chance first to
> > some cleanup before we deploy the sledghammer approach
> > of resetting the device.
> What does "a chance" correspond to here? Do we wait for some defined
> time for the state node to hit closed or are we now relying in winning a
> race more often than before?
> 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.
> Ian.

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.