diff options
| author | Vladimir Sementsov-Ogievskiy | 2021-06-10 12:08:00 +0200 |
|---|---|---|
| committer | Eric Blake | 2021-06-18 19:21:22 +0200 |
| commit | a71d597b989fd701b923f09b3c20ac4fcaa55e81 (patch) | |
| tree | 4b261177454c8b0ae344e3d6e49214b42eda92bf /scripts | |
| parent | nbd/client-connection: add option for non-blocking connection attempt (diff) | |
| download | qemu-a71d597b989fd701b923f09b3c20ac4fcaa55e81.tar.gz qemu-a71d597b989fd701b923f09b3c20ac4fcaa55e81.tar.xz qemu-a71d597b989fd701b923f09b3c20ac4fcaa55e81.zip | |
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
