Vladimir Sementsov-Ogievskiy a71d597b98 block/nbd: reuse nbd_co_do_establish_connection() in nbd_open()
The only last step we need to reuse the function is coroutine-wrapper.
nbd_open() may be called from non-coroutine context. So, generate the
wrapper and use it.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20210610100802.5888-31-vsementsov@virtuozzo.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
2021-06-18 12:21:22 -05:00
..
2019-10-10 10:56:17 +02:00
2021-04-30 12:27:48 +02:00
2020-05-18 19:05:25 +02:00
2020-05-18 19:05:25 +02:00
2021-02-15 15:10:14 +01:00
2021-03-19 10:15:06 +01:00
2020-11-09 15:44:21 +01:00
2021-01-08 15:13:38 +00:00
2021-06-04 13:47:07 +02:00
2021-03-11 13:57:08 +00:00
2020-09-15 11:05:13 +02:00
2020-07-06 10:34:14 +02:00