mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
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>
This commit is contained in:
parent
248d470198
commit
5276c87c12
4 changed files with 244 additions and 207 deletions
|
@ -1,5 +1,6 @@
|
|||
block_ss.add(files(
|
||||
'client.c',
|
||||
'client-connection.c',
|
||||
'common.c',
|
||||
))
|
||||
blockdev_ss.add(files(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue