diff --git a/block/ssh.c b/block/ssh.c index 2748253d4a3644261d866761fa1d436b7416b6a8..b2da9bb4c83894a09ce52efa237ed88d692008e3 100644 --- a/block/ssh.c +++ b/block/ssh.c @@ -860,9 +860,6 @@ static int ssh_file_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; }