summaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2013-03-29 11:39:50 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2013-04-02 08:13:58 -0500
commit684a096eafbe37ab6c9a1fdb5e0185f04098b166 (patch)
treedbb80d4202e86b81210825d6fb69ec964f3d6486 /backends
parentd819cdccffe08f6e12b4c2dec8f4aa381f0cd687 (diff)
downloadqemu-684a096eafbe37ab6c9a1fdb5e0185f04098b166.tar.gz
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