All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/2] qdev: disassociate chardev from device on device exit
@ 2012-01-13  9:59 Amit Shah
  2012-01-13  9:59 ` [Qemu-devel] [PATCH v2 1/2] qdev: Add a 'free' method to disassociate chardev from qdev device Amit Shah
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Amit Shah @ 2012-01-13  9:59 UTC (permalink / raw)
  To: qemu list; +Cc: Amit Shah, Gerd Hoffmann, Markus Armbruster

When the device is going away (e.g., hot-unplug), an associated
chardev should be freed and made available for use for other devices.

An earlier hack did this for virtio serial ports, do it in a generic
way and remove the virtio-serial specific hack.

v2:
 - actually remove virtconsole_exitfn()

Amit Shah (2):
  qdev: Add a 'free' method to disassociate chardev from qdev device
  virtio-console: no need to remove char handlers explicitly

 hw/qdev-properties.c |   11 +++++++++++
 hw/virtio-console.c  |   17 -----------------
 2 files changed, 11 insertions(+), 17 deletions(-)

-- 
1.7.7.5

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

end of thread, other threads:[~2012-01-13 16:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-13  9:59 [Qemu-devel] [PATCH v2 0/2] qdev: disassociate chardev from device on device exit Amit Shah
2012-01-13  9:59 ` [Qemu-devel] [PATCH v2 1/2] qdev: Add a 'free' method to disassociate chardev from qdev device Amit Shah
2012-01-13  9:59 ` [Qemu-devel] [PATCH v2 2/2] virtio-console: no need to remove char handlers explicitly Amit Shah
2012-01-13 16:54 ` [Qemu-devel] [PATCH v2 0/2] qdev: disassociate chardev from device on device exit Anthony Liguori

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.