All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] virtio_cleanup() missing in virtio-{blk, balloon, 9p}-pci
@ 2010-10-11 10:00 Markus Armbruster
  2010-10-11 10:19 ` [Qemu-devel] " Kevin Wolf
  2010-10-12 11:59 ` [Qemu-devel] " M. Mohan Kumar
  0 siblings, 2 replies; 4+ messages in thread
From: Markus Armbruster @ 2010-10-11 10:00 UTC (permalink / raw)
  To: qemu-devel; +Cc: Kevin Wolf, Venkateswararao Jujjuri, Adam Litke

Pattern:

FOO's PCIDeviceInfo method exit is virtio_FOO_exit_pci(), which calls
virtio_FOO_exit() and virtio_exit_pci().

virtio_{net,serial}_exit() call virtio_cleanup().

virtio_blk_exit() doesn't.  Why?

virtio-balloon-pci uses virtio_exit_pci() as exit method.  No
virtio_cleanup()?

virtio-9p-pci doesn't have an exit method.  Doesn't feel right.

I suspect these three leak memory or worse on hot unplug.

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

end of thread, other threads:[~2010-10-12 12:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-11 10:00 [Qemu-devel] virtio_cleanup() missing in virtio-{blk, balloon, 9p}-pci Markus Armbruster
2010-10-11 10:19 ` [Qemu-devel] " Kevin Wolf
2010-10-12 11:59 ` [Qemu-devel] " M. Mohan Kumar
2010-10-12 12:18   ` Markus Armbruster

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.