Re: [RFC PATCH 3/6] virtio_test: call __virtio_unbreak_device

2022-07-05 Thread Stefano Garzarella
On Mon, Jul 04, 2022 at 03:06:39PM -0400, Michael S. Tsirkin wrote: On Mon, Jul 04, 2022 at 07:16:58PM +0200, Stefano Garzarella wrote: Commit 8b4ec69d7e09 ("virtio: harden vring IRQ") initialize vq->broken to true, so we need to call __virtio_unbreak_device() before starting to use it.

Re: [RFC PATCH 3/6] virtio_test: call __virtio_unbreak_device

2022-07-04 Thread Michael S. Tsirkin
On Mon, Jul 04, 2022 at 07:16:58PM +0200, Stefano Garzarella wrote: > Commit 8b4ec69d7e09 ("virtio: harden vring IRQ") initialize vq->broken > to true, so we need to call __virtio_unbreak_device() before starting > to use it. > > Signed-off-by: Stefano Garzarella I think this shouldn't be