qemu-e2k/chardev
Marc-André Lureau e0b6767b6c char-udp: flush as much buffer as possible
Instead of flushing the buffer byte by byte, call qemu_chr_be_write()
with as much byte possible accepted by the front-end.

Factor out buffer flushing in a common function udp_chr_flush_buffer().

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
2017-05-04 15:34:41 +04:00
..
char-console.c char: move console in its own file 2017-01-31 23:31:21 +04:00
char-fd.c char: remove the right fd been watched in qemu_chr_fe_set_handlers() 2017-03-06 11:46:02 +08:00
char-fd.h char: move fd chardev in its own file 2017-01-31 23:31:21 +04:00
char-file.c char: move file chardev in its own file 2017-01-31 23:31:21 +04:00
char-io.c char: remove the right fd been watched in qemu_chr_fe_set_handlers() 2017-03-06 11:46:02 +08:00
char-io.h char: remove the right fd been watched in qemu_chr_fe_set_handlers() 2017-03-06 11:46:02 +08:00
char-mux.c mux: simplfy muxes_realize_done 2017-05-04 15:34:41 +04:00
char-mux.h mux: simplfy muxes_realize_done 2017-05-04 15:34:41 +04:00
char-null.c char: move null chardev to its own file 2017-01-31 23:31:20 +04:00
char-parallel.c char: move parallel chardev in its own file 2017-01-31 23:31:21 +04:00
char-parallel.h char: move parallel chardev in its own file 2017-01-31 23:31:21 +04:00
char-pipe.c char: move pipe chardev in its own file 2017-01-31 23:31:21 +04:00
char-pty.c char: remove qemu_chr_be_generic_open 2017-05-04 15:34:41 +04:00
char-ringbuf.c char: move ringbuf/memory to its own file 2017-01-31 23:31:20 +04:00
char-serial.c char: move serial chardev to its own file 2017-01-31 23:31:21 +04:00
char-serial.h char: move serial chardev to its own file 2017-01-31 23:31:21 +04:00
char-socket.c char-socket: add 'connected' property 2017-05-04 15:34:41 +04:00
char-stdio.c char: move stdio in its own file 2017-01-31 23:31:21 +04:00
char-udp.c char-udp: flush as much buffer as possible 2017-05-04 15:34:41 +04:00
char-win-stdio.c char: move win-stdio into its own file 2017-01-31 23:31:21 +04:00
char-win-stdio.h char: move win-stdio into its own file 2017-01-31 23:31:21 +04:00
char-win.c char: move win chardev base class in its own file 2017-01-31 23:31:21 +04:00
char-win.h char: move win chardev base class in its own file 2017-01-31 23:31:21 +04:00
char.c char: useless NULL check 2017-05-04 15:34:41 +04:00
Makefile.objs char: move parallel chardev in its own file 2017-01-31 23:31:21 +04:00