]> Git Repo - qemu.git/commit
char-udp: flush as much buffer as possible
authorMarc-André Lureau <[email protected]>
Fri, 23 Dec 2016 13:55:54 +0000 (14:55 +0100)
committerMarc-André Lureau <[email protected]>
Thu, 4 May 2017 11:34:41 +0000 (15:34 +0400)
commite0b6767b6c56a08827e35873e7d259d08e4b3ee5
treecbce4612aeaafaaada44f6ad48376eccad8cb5bc
parentda2d19b080f6214b646a9f250760f5f41adcd21b
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 <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
chardev/char-udp.c
This page took 0.02438 seconds and 4 git commands to generate.