commit | 4adf4180f284caf4ea9cd83ce37085d50a52603b | [log] [tgz] |
---|---|---|
author | Max Reitz <mreitz@redhat.com> | Wed Feb 25 13:08:28 2015 -0500 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Wed Mar 18 12:07:21 2015 +0100 |
tree | 9104999ed7ffeaea0214628ac4d505db5c3fbc94 | |
parent | 0379f474ddebfc69f42fa8231d86687cf29d997b [diff] |
coroutine-io: Return -errno in case of error In case qemu_co_sendv_recvv() fails without any data read, there is no reason not to return the perfectly fine error number retrieved from socket_error(). Signed-off-by: Max Reitz <mreitz@redhat.com> Message-Id: <1424887718-10800-16-git-send-email-mreitz@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>