qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] virtio: fix memory leak in virtio-balloon/virtio-serial-bus
@ 2019-12-09  2:00 pannengyuan
  2019-12-09  2:00 ` [PATCH v3 1/3] virtio: add ability to delete vq through a pointer pannengyuan
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: pannengyuan @ 2019-12-09  2:00 UTC (permalink / raw)
  To: mst; +Cc: liyiting, kuhn.chenqun, Pan Nengyuan, qemu-devel,
	zhang.zhanghailiang

From: Pan Nengyuan <pannengyuan@huawei.com>

This series add a new function to cleanup vqueue through a vq pointer, and fix memory
leaks in virtio-balloon and virtio-serial-bus.

---
Changes v2 to v1:
- add a new function to cleanup vqueue through a vq pointer.
---
Changes v3 to v2:
- change function name from virtio_delete_queue to virtio_queue_cleanup.

Michael S. Tsirkin(1)
  virtio: add ability to delete vq through a pointer 

Pan Nengyuan (2):
  virtio-balloon: fix memory leak while attach virtio-balloon device
  virtio-serial-bus: fix memory leak while attach virtio-serial-bus

 hw/char/virtio-serial-bus.c |  8 ++++++++
 hw/virtio/virtio-balloon.c  |  7 +++++++
 hw/virtio/virtio.c          | 16 +++++++++++-----
 include/hw/virtio/virtio.h  |  2 ++
 4 files changed, 28 insertions(+), 5 deletions(-)

-- 
2.7.2.windows.1




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

end of thread, other threads:[~2019-12-12 14:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-09  2:00 [PATCH v3 0/3] virtio: fix memory leak in virtio-balloon/virtio-serial-bus pannengyuan
2019-12-09  2:00 ` [PATCH v3 1/3] virtio: add ability to delete vq through a pointer pannengyuan
2019-12-09  3:04   ` Pan Nengyuan
2019-12-12 14:51   ` David Hildenbrand
2019-12-09  2:00 ` [PATCH v3 2/3] virtio-balloon: fix memory leak while attach virtio-balloon device pannengyuan
2019-12-12 14:51   ` David Hildenbrand
2019-12-09  2:00 ` [PATCH v3 3/3] virtio-serial-bus: fix memory leak while attach virtio-serial-bus pannengyuan

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