qemu/chardev
Paolo Bonzini 5b774fe550 chardev-socket: do not blindly reset handlers when switching GMainContext
If the socket is connecting or connected, tcp_chr_update_read_handler will
be called but it should not set the NetListener's callbacks again.
Otherwise, tcp_chr_accept is invoked while the socket is in connected
state and you get an assertion failure.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2019-03-07 16:50:04 +01:00
..
baum.c
char-console.c
char-fd.c
char-fe.c char: update the mux handlers in class callback 2019-02-13 15:36:14 +01:00
char-file.c
char-io.c chardev: use a child source for qio input source 2018-10-03 14:45:05 +04:00
char-mux.c char: update the mux handlers in class callback 2019-02-13 15:36:14 +01:00
char-null.c
char-parallel.c
char-pipe.c
char-pty.c char-pty: remove write_lock usage 2019-02-13 16:46:39 +01:00
char-ringbuf.c
char-serial.c chardev: ensure termios is fully initialized 2019-02-12 17:35:56 +01:00
char-socket.c chardev-socket: do not blindly reset handlers when switching GMainContext 2019-03-07 16:50:04 +01:00
char-stdio.c chardev: don't splatter terminal settings on exit if not previously set 2018-06-28 19:05:30 +02:00
char-udp.c
char-win-stdio.c
char-win.c
char.c char: allow specifying a GMainContext at opening time 2019-02-13 14:23:39 +01:00
Makefile.objs
msmouse.c
spice.c char: register spice ports after spice started 2019-02-21 14:09:17 +01:00
testdev.c
trace-events char/spice: discard write() if backend is disconnected 2019-02-21 14:09:17 +01:00
wctablet.c chardev/wctablet: Fix a typo 2019-02-13 14:31:31 +01:00