diff options
author | Pan Nengyuan <pannengyuan@huawei.com> | 2020-02-24 12:13:36 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2020-02-25 08:32:56 -0500 |
commit | 38e245a42ca81c47d477314c3cfabfcb3d3cec11 (patch) | |
tree | 49de32a3647cf0977d6583a9b0f686ddb45db3c0 /include | |
parent | 13e5468127111bf44c5dc314d1dd2ec5a65dfec4 (diff) |
vhost-user-blk: convert to new virtio_delete_queue
use the new virtio_delete_queue function to cleanup.
Signed-off-by: Pan Nengyuan <pannengyuan@huawei.com>
Message-Id: <20200224041336.30790-3-pannengyuan@huawei.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/virtio/vhost-user-blk.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hw/virtio/vhost-user-blk.h b/include/hw/virtio/vhost-user-blk.h index 108bfadeeb..05ea0ad183 100644 --- a/include/hw/virtio/vhost-user-blk.h +++ b/include/hw/virtio/vhost-user-blk.h @@ -36,7 +36,8 @@ typedef struct VHostUserBlk { struct vhost_dev dev; struct vhost_inflight *inflight; VhostUserState vhost_user; - struct vhost_virtqueue *vqs; + struct vhost_virtqueue *vhost_vqs; + VirtQueue **virtqs; guint watch; bool connected; } VHostUserBlk; |