diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2017-01-26 22:48:37 +0400 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2017-06-02 11:33:53 +0400 |
commit | c90e9392efa6579e714fe9aa2993e7d89e3792dc (patch) | |
tree | 4867ac1b0a32b61bfd65145e641e9a30af8e9dfb /chardev/Makefile.objs | |
parent | 93a78e41242ba164ae6af1690ea68fe22165ad4b (diff) |
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 'chardev/Makefile.objs')
0 files changed, 0 insertions, 0 deletions