diff options
| author | Vladimir Sementsov-Ogievskiy | 2019-02-01 14:01:34 +0100 |
|---|---|---|
| committer | Eric Blake | 2019-02-04 22:11:27 +0100 |
| commit | d42f78e9400c51f1ae30dadd52995e4d6b052d89 (patch) | |
| tree | f88bb8318883cd90c45eaed49b337bcdb16a73c2 /block/nbd-client.h | |
| parent | block/nbd-client: split channel errors from export errors (diff) | |
| download | qemu-d42f78e9400c51f1ae30dadd52995e4d6b052d89.tar.gz qemu-d42f78e9400c51f1ae30dadd52995e4d6b052d89.tar.xz qemu-d42f78e9400c51f1ae30dadd52995e4d6b052d89.zip | |
block/nbd: move connection code from block/nbd to block/nbd-client
Keep all connection code in one file, to be able to implement reconnect
in further patches.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20190201130138.94525-3-vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
[eblake: format tweak]
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'block/nbd-client.h')
| -rw-r--r-- | block/nbd-client.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/nbd-client.h b/block/nbd-client.h index cfc90550b9..2f047ba614 100644 --- a/block/nbd-client.h +++ b/block/nbd-client.h @@ -41,7 +41,7 @@ typedef struct NBDClientSession { NBDClientSession *nbd_get_client_session(BlockDriverState *bs); int nbd_client_init(BlockDriverState *bs, - QIOChannelSocket *sock, + SocketAddress *saddr, const char *export_name, QCryptoTLSCreds *tlscreds, const char *hostname, |
