]> git.ipfire.org Git - thirdparty/qemu.git/commit
block/nbd: use negotiation of NBDClientConnection
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Thu, 10 Jun 2021 10:07:53 +0000 (13:07 +0300)
committerEric Blake <eblake@redhat.com>
Fri, 18 Jun 2021 15:59:54 +0000 (10:59 -0500)
commit6d2b0332d3a2d85bb37786a914c6865a4386ef87
tree195d9f417b8d88276eb63f6bc8031f3c87c40277
parente9ba7788b0c4328f7123eccb60cbb68b0b62bacb
block/nbd: use negotiation of NBDClientConnection

Now that we can opt in to negotiation as part of the client connection
thread, use that to simplify connection_co.  This is another step on
the way to moving all reconnect code into NBDClientConnection.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20210610100802.5888-24-vsementsov@virtuozzo.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
block/nbd.c