On Thu, 22 Sep 2016 10:14:56 +0200 Greg Kurz <[email protected]> wrote: > On Thu, 22 Sep 2016 07:38:29 +0000 > "Gonglei (Arei)" <[email protected]> wrote:
> > I saw virtio_error() only handle the virtio 1.0 device, the legacy virtio > > device may > > still stuck, am I right? > > > > The DEVICE_NEEDS_RESET bit was introduced by the virtio 1.0 specification. > > http://docs.oasis-open.org/virtio/virtio/v1.0/cs04/virtio-v1.0-cs04.html#x1-100001 > > Yes, the legacy device will stay stuck since the broken flag is set. Yes, I fear there's nothing we can do to handle legacy devices gracefully. If one broken device doesn't drag down the rest of the machine with it, it's still a net win, I think.
