summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMarkus Armbruster2019-04-17 21:06:28 +0200
committerMarkus Armbruster2019-04-17 21:21:49 +0200
commit6b3048cee0e0eccd27b62954ecc57c4a1bceb976 (patch)
tree17dcc0ef5b02a1dffe52709bb891400fd05570a4 /scripts
parentqemu-img: Use error_vreport() in error_exit() (diff)
downloadqemu-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