qemu-nbd: Permit --shared=0 for unlimited clients
commit3dcf56e625c684178c0062d845f9fe05ecce346f
authorEric Blake <eblake@redhat.com>
Tue, 9 Feb 2021 15:27:59 +0000 (9 09:27 -0600)
committerEric Blake <eblake@redhat.com>
Fri, 12 Feb 2021 13:42:08 +0000 (12 07:42 -0600)
treed117ef75bc8369503536b489a207e04fd22ad0dc
parent582d4210eb2f2ab5baac328fe4b479cd86da1647
qemu-nbd: Permit --shared=0 for unlimited clients

This gives us better feature parity with QMP nbd-server-start, where
max-connections defaults to 0 for unlimited.

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <20210209152759.209074-3-eblake@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
docs/tools/qemu-nbd.rst
qemu-nbd.c