diff --git a/hw/virtio/virtio.c b/hw/virtio/virtio.c index 5fbaaaad6e..519bb03e29 100644 --- a/hw/virtio/virtio.c +++ b/hw/virtio/virtio.c @@ -816,6 +816,7 @@ void virtio_reset(void *opaque) vdev->vq[i].signalled_used_valid = false; vdev->vq[i].notification = true; vdev->vq[i].vring.num = vdev->vq[i].vring.num_default; + vdev->vq[i].inuse = 0; } }