Re: [PATCH] vfio/pci: Support error recovery

From: Michael S. Tsirkin
Date: Mon Dec 12 2016 - 22:15:19 EST


On Mon, Dec 12, 2016 at 03:43:13PM -0700, Alex Williamson wrote:
> > So just don't do it then. Topology must match between host and guest,
> > except maybe for the case of devices with host driver (e.g. PF)
> > which we might be able to synchronize against.
>
> We're talking about host kernel level handling here. The host kernel
> cannot defer the link reset to the user under the assumption that the
> user is handling the devices in a very specific way. The moment we do
> that, we've lost.

The way is same as baremetal though, so why not?

And if user doesn't do what's expected, we can
do the full link reset on close.

--
MST