aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPan Nengyuan <pannengyuan@huawei.com>2020-02-24 12:13:36 +0800
committerMichael S. Tsirkin <mst@redhat.com>2020-02-25 08:32:56 -0500
commit38e245a42ca81c47d477314c3cfabfcb3d3cec11 (patch)
tree49de32a3647cf0977d6583a9b0f686ddb45db3c0 /include
parent13e5468127111bf44c5dc314d1dd2ec5a65dfec4 (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.h3
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;