diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2016-09-06 14:56:05 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-09-13 19:09:43 +0200 |
commit | 90f998f5f4267a0c22e983f533d19b9de1849283 (patch) | |
tree | 892aafd72e89964fc4d283644582091cf995c6a1 /translate-all.h | |
parent | 6ab3fc32ea640026726bc5f9f4db622d0954fb8a (diff) | |
download | qemu-90f998f5f4267a0c22e983f533d19b9de1849283.tar.gz qemu-90f998f5f4267a0c22e983f533d19b9de1849283.tar.bz2 qemu-90f998f5f4267a0c22e983f533d19b9de1849283.zip |
char: convert qemu_chr_fe_write to qemu_chr_fe_write_all
The mux chardev was not checking the return value of any
qemu_chr_fe_write() call so would silently loose data
on EAGAIN.
Similarly the qemu_chr_fe_printf method would not check
errors and was not in a position to retry even if it
could check.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-Id: <1473170165-540-5-git-send-email-berrange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'translate-all.h')
0 files changed, 0 insertions, 0 deletions