qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] delete virtio queues in virtio_scsi_unrealize
@ 2020-01-17  7:55 pannengyuan
  2020-01-17  7:55 ` [PATCH 1/2] virtio-scsi: delete vqs in unrealize to avoid memleaks pannengyuan
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: pannengyuan @ 2020-01-17  7:55 UTC (permalink / raw)
  To: mst, pbonzini, fam; +Cc: Pan Nengyuan, qemu-devel, zhang.zhanghailiang

From: Pan Nengyuan <pannengyuan@huawei.com>

This serie patch fix memleaks when detaching virtio-scsi 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. replace virtio_del_queue to virtio_delete_queue to make it more clear.

Pan Nengyuan (2):
  virtio-scsi: delete vqs in unrealize to avoid memleaks
  virtio-scsi: convert to new virtio_delete_queue

 hw/scsi/virtio-scsi.c | 6 ++++++
 1 file changed, 6 insertions(+)

-- 
2.21.0.windows.1




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-01-21 16:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-17  7:55 [PATCH 0/2] delete virtio queues in virtio_scsi_unrealize pannengyuan
2020-01-17  7:55 ` [PATCH 1/2] virtio-scsi: delete vqs in unrealize to avoid memleaks pannengyuan
2020-01-17  7:55 ` [PATCH 2/2] virtio-scsi: convert to new virtio_delete_queue pannengyuan
2020-01-20 14:35 ` [PATCH 0/2] delete virtio queues in virtio_scsi_unrealize Stefan Hajnoczi
2020-01-21 16:23 ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).