[PATCH 0/4] virtio: fix some virtio-queue leaks.

Pan Nengyuan posted 4 patches 5 years, 8 months ago
Test docker-quick@centos7 failed
Test FreeBSD passed
Test docker-mingw@fedora failed
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20200225075554.10835-1-pannengyuan@huawei.com
Maintainers: "Michael S. Tsirkin" <mst@redhat.com>, "Dr. David Alan Gilbert" <dgilbert@redhat.com>, "Gonglei (Arei)" <arei.gonglei@huawei.com>, Stefan Hajnoczi <stefanha@redhat.com>
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(-)
[PATCH 0/4] virtio: fix some virtio-queue leaks.
Posted by Pan Nengyuan 5 years, 8 months ago
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