diff options
| author | Markus Armbruster | 2019-04-17 21:06:28 +0200 |
|---|---|---|
| committer | Markus Armbruster | 2019-04-17 21:21:49 +0200 |
| commit | 6b3048cee0e0eccd27b62954ecc57c4a1bceb976 (patch) | |
| tree | 17dcc0ef5b02a1dffe52709bb891400fd05570a4 /scripts | |
| parent | qemu-img: Use error_vreport() in error_exit() (diff) | |
| download | qemu-6b3048cee0e0eccd27b62954ecc57c4a1bceb976.tar.gz qemu-6b3048cee0e0eccd27b62954ecc57c4a1bceb976.tar.xz qemu-6b3048cee0e0eccd27b62954ecc57c4a1bceb976.zip | |
block/ssh: Do not report read/write/flush errors to the user
Callbacks ssh_co_readv(), ssh_co_writev(), ssh_co_flush() report
errors to the user with error_printf(). They shouldn't, it's their
caller's job. Replace by a suitable trace point. While there, drop
the unreachable !s->sftp case.
Perhaps we should convert this part of the block driver interface to
Error, so block drivers can pass more detail to their callers. Not
today.
Cc: "Richard W.M. Jones" <rjones@redhat.com>
Cc: Kevin Wolf <kwolf@redhat.com>
Cc: Max Reitz <mreitz@redhat.com>
Cc: qemu-block@nongnu.org
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20190417190641.26814-3-armbru@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
