Re: [PATCH 2/2] virtio-iommu: delete vqs in unrealize to fix memleaks

2020-03-27 Thread Pan Nengyuan
On 3/27/2020 4:53 PM, Stefano Garzarella wrote: > On Fri, Mar 27, 2020 at 11:56:50AM +0800, Pan Nengyuan wrote: >> req_vq/event_vq forgot to free in unrealize(). Fix that. >> >> Signed-off-by: Pan Nengyuan >> --- >> Cc: Eric Auger >> --- >> hw/virtio/virtio-iommu.c | 2 ++ >> 1 file changed,

Re: [PATCH 2/2] virtio-iommu: delete vqs in unrealize to fix memleaks

2020-03-27 Thread Stefano Garzarella
On Fri, Mar 27, 2020 at 11:56:50AM +0800, Pan Nengyuan wrote: > req_vq/event_vq forgot to free in unrealize(). Fix that. > > Signed-off-by: Pan Nengyuan > --- > Cc: Eric Auger > --- > hw/virtio/virtio-iommu.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/hw/virtio/virtio-iommu.c b

Re: [PATCH 2/2] virtio-iommu: delete vqs in unrealize to fix memleaks

2020-03-27 Thread Auger Eric
Hi Pan, On 3/27/20 4:56 AM, Pan Nengyuan wrote: > req_vq/event_vq forgot to free in unrealize(). Fix that. > > Signed-off-by: Pan Nengyuan > --- > Cc: Eric Auger > --- > hw/virtio/virtio-iommu.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/hw/virtio/virtio-iommu.c b/hw/virtio/vi

[PATCH 2/2] virtio-iommu: delete vqs in unrealize to fix memleaks

2020-03-26 Thread Pan Nengyuan
req_vq/event_vq forgot to free in unrealize(). Fix that. Signed-off-by: Pan Nengyuan --- Cc: Eric Auger --- hw/virtio/virtio-iommu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/virtio/virtio-iommu.c b/hw/virtio/virtio-iommu.c index 4cee8083bc..9d2ff0693c 100644 --- a/hw/virtio/virt