diff options
author | Markus Armbruster <armbru@redhat.com> | 2019-04-17 21:06:28 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2019-04-17 21:21:49 +0200 |
commit | 6b3048cee0e0eccd27b62954ecc57c4a1bceb976 (patch) | |
tree | 17dcc0ef5b02a1dffe52709bb891400fd05570a4 /block/iscsi-opts.c | |
parent | e9e1d92d1d8f0bce81a1f25cfeeda9c7374b6ab5 (diff) |
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 'block/iscsi-opts.c')
0 files changed, 0 insertions, 0 deletions