Skip to content

delete virtio queues in vhost-user-blk-unrealize

[email protected] qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v12 patches 4 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2vhost-user-blk: delete virtioqueues in unrealize to fix memleakshw/block/vhost-user-blk.c+8 -00 replies
2/2vhost-use-blk: convert to new virtio_delete_queuehw/block/vhost-user-blk.c include/hw/virtio/vhost-user-blk.h+13 -90 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchStefan Hajnoczi
SeriesR-b
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] delete virtio queues in vhost-user-blk-unrealize

From: Pan Nengyuan <[email protected]>

This series patch fix memleaks when detaching vhost-user-blk device.
1. use old virtio_del_queue to fix memleaks, it's easier for stable branches to merge. As the discussion in https://lists.nongnu.org/archive/html/qemu-devel/2020-01/msg02903.html

2. convert virtio_del_queue to the new one(virtio_delete_queue).

v2->v1: rename vqs to vhost_vqs to avoid confusing with virtqs (suggented by Stefan Hajnoczi)

Pan Nengyuan (2):
vhost-user-blk: delete virtioqueues in unrealize to fix memleaks
vhost-use-blk: convert to new virtio_delete_queue

 hw/block/vhost-user-blk.c          | 23 +++++++++++++++++------
 include/hw/virtio/vhost-user-blk.h |  3 ++-
 2 files changed, 19 insertions(+), 7 deletions(-)
Signature · 1 line
2.18.2