diff options
author | Max Reitz <mreitz@redhat.com> | 2015-02-25 13:08:28 -0500 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-03-18 12:07:21 +0100 |
commit | 4adf4180f284caf4ea9cd83ce37085d50a52603b (patch) | |
tree | 9104999ed7ffeaea0214628ac4d505db5c3fbc94 /linux-user | |
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>
Diffstat (limited to 'linux-user')
0 files changed, 0 insertions, 0 deletions