diff options
author | Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> | 2021-06-15 14:07:05 -0500 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2021-06-18 10:59:53 -0500 |
commit | 5276c87c12f4c2a2db0bf343f6d3092816f0afc6 (patch) | |
tree | d051e4793693fce1a62f870a7bc507b24db0817c /nbd/meson.build | |
parent | 248d4701989dbe8de1c06aa8f65ef38f289df87b (diff) | |
download | qemu-5276c87c12f4c2a2db0bf343f6d3092816f0afc6.zip qemu-5276c87c12f4c2a2db0bf343f6d3092816f0afc6.tar.gz qemu-5276c87c12f4c2a2db0bf343f6d3092816f0afc6.tar.bz2 |
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 'nbd/meson.build')
-rw-r--r-- | nbd/meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nbd/meson.build b/nbd/meson.build index 2baaa36..b26d705 100644 --- a/nbd/meson.build +++ b/nbd/meson.build @@ -1,5 +1,6 @@ block_ss.add(files( 'client.c', + 'client-connection.c', 'common.c', )) blockdev_ss.add(files( |