This series fixes a segfault when a frontend is detached from a
chardev, and the chardev had a pending callback registered.  Further
details in patch 1.

Please review,

Amit Shah (9):
  char: remove watch callback on chardev detach from frontend
  char: introduce tcp_chr_detach()
  char: introduce fd_chr_detach()
  char: introduce pty_chr_detach()
  char: introduce udp_chr_detach()
  char: use the new fd_chr_detach to dedup code
  char: use the new pty_chr_detach to dedup code
  char: use the new udp_chr_detach to dedup code
  char: use the new tcp_chr_detach to dedup code

 include/sysemu/char.h |   1 +
 qemu-char.c           | 102 +++++++++++++++++++++++++++++---------------------
 2 files changed, 60 insertions(+), 43 deletions(-)

-- 
1.8.3.1


Reply via email to