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. Signed-

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 necess

[RFC PATCH 3/6] virtio_test: call __virtio_unbreak_device

2022-07-04 Thread Stefano Garzarella
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 --- tools/virtio/linux/virtio.h | 2 ++ tools/virtio/virtio_test.c | 1 + 2 files changed, 3 insertions(+) d