diff options
| author | Anthony Liguori | 2013-03-29 17:39:50 +0100 |
|---|---|---|
| committer | Anthony Liguori | 2013-04-02 15:13:58 +0200 |
| commit | 684a096eafbe37ab6c9a1fdb5e0185f04098b166 (patch) | |
| tree | dbb80d4202e86b81210825d6fb69ec964f3d6486 /backends | |
| parent | ui/gtk: Set QEMU window icon (diff) | |
| download | qemu-684a096eafbe37ab6c9a1fdb5e0185f04098b166.tar.gz qemu-684a096eafbe37ab6c9a1fdb5e0185f04098b166.tar.xz qemu-684a096eafbe37ab6c9a1fdb5e0185f04098b166.zip | |
qemu-char: rewrite io_channel_send_all and drop the '_all' suffix
The current code is oddly written and have equally odd semantics.
Despite the '_all' suffix, upon EAGAIN the result will be a partial
write but instead of returning the partial write, we return EAGAIN.
Change the behavior to write as much as we can until we get an EAGAIN
returning a partial write if we do.
Reported-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-id: 1364575190-731-1-git-send-email-aliguori@us.ibm.com
Diffstat (limited to 'backends')
0 files changed, 0 insertions, 0 deletions
