Similar to other virtio device(https://patchwork.kernel.org/patch/11399237/), we aslo found some virtio-queue leaks in unrealize().
This series do the cleanup in unrealize to fix it.
Pan Nengyuan (4):
vhost-user-fs: do delete virtio_queues in unrealize
vhost-user-fs: convert to the new virtio_delete_queue function
virtio-pmem: do delete rq_vq in virtio_pmem_unrealize
virtio-crypto: do delete ctrl_vq in virtio_crypto_device_unrealize
hw/virtio/vhost-user-fs.c | 16 ++++++++++++++--
hw/virtio/virtio-crypto.c | 3 ++-
hw/virtio/virtio-pmem.c | 1 +
include/hw/virtio/vhost-user-fs.h | 2 ++
4 files changed, 19 insertions(+), 3 deletions(-)
--
2.18.2