aboutsummaryrefslogtreecommitdiff
path: root/chardev/char-console.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-12-23 14:55:54 +0100
committerMarc-André Lureau <marcandre.lureau@redhat.com>2017-05-04 15:34:41 +0400
commite0b6767b6c56a08827e35873e7d259d08e4b3ee5 (patch)
treecbce4612aeaafaaada44f6ad48376eccad8cb5bc /chardev/char-console.c
parentda2d19b080f6214b646a9f250760f5f41adcd21b (diff)
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>
Diffstat (limited to 'chardev/char-console.c')
0 files changed, 0 insertions, 0 deletions