From: Pan Nengyuan <pannengy...@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