diff options
author | Marc-André Lureau | 2017-01-26 19:48:37 +0100 |
---|---|---|
committer | Marc-André Lureau | 2017-06-02 09:33:53 +0200 |
commit | c90e9392efa6579e714fe9aa2993e7d89e3792dc (patch) | |
tree | 4867ac1b0a32b61bfd65145e641e9a30af8e9dfb /include/chardev/char.h | |
parent | be-hci: use backend functions (diff) | |
download | qemu-c90e9392efa6579e714fe9aa2993e7d89e3792dc.tar.gz qemu-c90e9392efa6579e714fe9aa2993e7d89e3792dc.tar.xz qemu-c90e9392efa6579e714fe9aa2993e7d89e3792dc.zip |
char: generalize qemu_chr_write_all()
qemu_chr_fe_write() is similar to qemu_chr_write_all(): the later write
all with a chardev backend.
Make qemu_chr_write() and qemu_chr_fe_write_buffer() take an 'all'
argument. If false, handle 'partial' write the way qemu_chr_fe_write()
use to, and call qemu_chr_write() from qemu_chr_fe_write().
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'include/chardev/char.h')
0 files changed, 0 insertions, 0 deletions