summary refs log tree commit diff stats
path: root/scripts/block-coroutine-wrapper.py
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>2021-06-15 14:07:05 -0500
committerEric Blake <eblake@redhat.com>2021-06-18 10:59:53 -0500
commit5276c87c12f4c2a2db0bf343f6d3092816f0afc6 (patch)
treed051e4793693fce1a62f870a7bc507b24db0817c /scripts/block-coroutine-wrapper.py
parent248d4701989dbe8de1c06aa8f65ef38f289df87b (diff)
downloadfocaccia-qemu-5276c87c12f4c2a2db0bf343f6d3092816f0afc6.tar.gz
focaccia-qemu-5276c87c12f4c2a2db0bf343f6d3092816f0afc6.zip
nbd: move connection code from block/nbd to nbd/client-connection
We now have bs-independent connection API, which consists of four
functions:

  nbd_client_connection_new()
  nbd_client_connection_release()
  nbd_co_establish_connection()
  nbd_co_establish_connection_cancel()

Move them to a separate file together with NBDClientConnection
structure which becomes private to the new API.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20210610100802.5888-18-vsementsov@virtuozzo.com>
[eblake: comment tweaks]
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'scripts/block-coroutine-wrapper.py')
0 files changed, 0 insertions, 0 deletions