diff options
Diffstat (limited to 'vhost_user.c')
-rw-r--r-- | vhost_user.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vhost_user.c b/vhost_user.c index 7ab1377..be1aa94 100644 --- a/vhost_user.c +++ b/vhost_user.c @@ -732,6 +732,7 @@ static bool vu_get_vring_base_exec(struct vu_dev *vdev, msg->hdr.size = sizeof(msg->payload.state); vdev->vq[idx].started = false; + vdev->vq[idx].vring.avail = 0; if (vdev->vq[idx].call_fd != -1) { close(vdev->vq[idx].call_fd); |