qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] fix memory leak in virtio_gpu_resource_destroy
@ 2016-11-24 12:30 Li Qiang
  2016-11-24 12:30 ` [Qemu-devel] [PATCH 1/2] virtio-gpu: add declaration for virtio_gpu_cleanup_mapping function Li Qiang
  2016-11-24 12:30 ` [Qemu-devel] [PATCH 2/2] virtio-gpu: call cleanup mapping function in resource destroy Li Qiang
  0 siblings, 2 replies; 4+ messages in thread
From: Li Qiang @ 2016-11-24 12:30 UTC (permalink / raw)
  To: kraxel, marcandre.lureau, qemu-devel; +Cc: liqiang6-s, Li Qiang

If the guest destroy the resource before detach banking, the 'iov'
and 'addrs' field in resource is not freed thus leading memory
leak issue. This patchset address this.

Li Qiang (2):
  virtio-gpu: add declaration for virtio_gpu_cleanup_mapping function
  virtio-gpu: call cleanup mapping function in resource destroy

 hw/display/virtio-gpu.c | 3 +++
 1 file changed, 3 insertions(+)

-- 
1.8.3.1

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

end of thread, other threads:[~2016-11-28 12:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-24 12:30 [Qemu-devel] [PATCH 0/2] fix memory leak in virtio_gpu_resource_destroy Li Qiang
2016-11-24 12:30 ` [Qemu-devel] [PATCH 1/2] virtio-gpu: add declaration for virtio_gpu_cleanup_mapping function Li Qiang
2016-11-24 12:30 ` [Qemu-devel] [PATCH 2/2] virtio-gpu: call cleanup mapping function in resource destroy Li Qiang
2016-11-28 12:44   ` Marc-André Lureau

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).