]> git.ipfire.org Git - thirdparty/qemu.git/commit
block/nbd: add nbd_client_connected() helper
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Thu, 10 Jun 2021 10:08:01 +0000 (13:08 +0300)
committerEric Blake <eblake@redhat.com>
Fri, 18 Jun 2021 17:21:22 +0000 (12:21 -0500)
commit91e0998f5ab88e575b5d1b9bc55e0d179b9224f1
treea50c86169e03ef8fd622d4242e000827c289c11d
parenta71d597b989fd701b923f09b3c20ac4fcaa55e81
block/nbd: add nbd_client_connected() helper

We already have two similar helpers for other state. Let's add another
one for convenience.

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