diff --git a/block/ssh.c b/block/ssh.c index 27d582e0e3..5c16ff4fb6 100644 --- a/block/ssh.c +++ b/block/ssh.c @@ -865,9 +865,6 @@ static int ssh_open(BlockDriverState *bs, QDict *options, int bdrv_flags, goto err; } - /* Go non-blocking. */ - ssh_set_blocking(s->session, 0); - if (s->attrs->type == SSH_FILEXFER_TYPE_REGULAR) { bs->supported_truncate_flags = BDRV_REQ_ZERO_WRITE; }