[PULL] char: fix segfault on chardev detach

Message ID cover.1378386450.git.amit.shah@redhat.com
State New
Headers show


git://git.kernel.org/virt/qemu/amit/virtio-serial.git char-remove-watch-on-unplug


Amit Shah Sept. 5, 2013, 6:27 p.m.
Hi Anthony,

Please pull to receive a fix for a segfault in the char layer.  The
patches have been on the list for a week, and Gerd has reviewed them.

(I'm overloading the virtio-serial git tree for this series, haven't
gotten around to setting up a separate tree for char yet.)

The following changes since commit aaa6a40194e9f204cb853f64ef3c1e170bb014e8:

  Merge remote-tracking branch 'afaerber/tags/qom-cpu-for-anthony' into staging (2013-09-03 12:33:32 -0500)

are available in the git repository at:

  git://git.kernel.org/virt/qemu/amit/virtio-serial.git char-remove-watch-on-unplug

for you to fetch changes up to 386a5a1e0057e220f79c48fe3689e3dfb17f1b09:

  char: remove watch callback on chardev detach from frontend (2013-09-05 18:30:36 +0530)

Amit Shah (3):
  char: move backends' io watch tag to CharDriverState
  char: use common function to disable callbacks on chardev close
  char: remove watch callback on chardev detach from frontend

 include/sysemu/char.h |  1 +
 qemu-char.c           | 82 +++++++++++++++++++--------------------------------
 2 files changed, 32 insertions(+), 51 deletions(-)