diff options
| author | Daniel P. Berrange | 2016-09-06 15:56:05 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2016-09-13 19:09:43 +0200 |
| commit | 90f998f5f4267a0c22e983f533d19b9de1849283 (patch) | |
| tree | 892aafd72e89964fc4d283644582091cf995c6a1 /scripts | |
| parent | hw: replace most use of qemu_chr_fe_write with qemu_chr_fe_write_all (diff) | |
| download | qemu-90f998f5f4267a0c22e983f533d19b9de1849283.tar.gz qemu-90f998f5f4267a0c22e983f533d19b9de1849283.tar.xz 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 'scripts')
0 files changed, 0 insertions, 0 deletions
