aboutsummaryrefslogtreecommitdiff
path: root/scsi
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>2021-06-10 13:08:00 +0300
committerEric Blake <eblake@redhat.com>2021-06-18 12:21:22 -0500
commita71d597b989fd701b923f09b3c20ac4fcaa55e81 (patch)
tree4b261177454c8b0ae344e3d6e49214b42eda92bf /scsi
parent97cf89259e4e0455c3b2742911737de5969dc0de (diff)
downloadqemu-a71d597b989fd701b923f09b3c20ac4fcaa55e81.zip
qemu-a71d597b989fd701b923f09b3c20ac4fcaa55e81.tar.gz
qemu-a71d597b989fd701b923f09b3c20ac4fcaa55e81.tar.bz2
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 'scsi')
0 files changed, 0 insertions, 0 deletions