diff options
| author | Pan Nengyuan | 2020-02-25 08:55:52 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin | 2020-02-25 14:32:45 +0100 |
| commit | 2e5bc65935ddf8ee152c1317a3d3bb4bb73e727d (patch) | |
| tree | d3a2579464493b35332c6c3b8a67c758f80e40a3 /include | |
| parent | vhost-user-fs: do delete virtio_queues in unrealize (diff) | |
| download | qemu-2e5bc65935ddf8ee152c1317a3d3bb4bb73e727d.tar.gz qemu-2e5bc65935ddf8ee152c1317a3d3bb4bb73e727d.tar.xz qemu-2e5bc65935ddf8ee152c1317a3d3bb4bb73e727d.zip | |
vhost-user-fs: convert to the new virtio_delete_queue function
use the new virtio_delete_queue function to cleanup.
Signed-off-by: Pan Nengyuan <pannengyuan@huawei.com>
Cc: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
Cc: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20200225075554.10835-3-pannengyuan@huawei.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-fs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/virtio/vhost-user-fs.h b/include/hw/virtio/vhost-user-fs.h index 9ff1bdb7cf..6f3030d288 100644 --- a/include/hw/virtio/vhost-user-fs.h +++ b/include/hw/virtio/vhost-user-fs.h @@ -37,6 +37,8 @@ typedef struct { struct vhost_virtqueue *vhost_vqs; struct vhost_dev vhost_dev; VhostUserState vhost_user; + VirtQueue **req_vqs; + VirtQueue *hiprio_vq; /*< public >*/ } VHostUserFS; |
