mirror of
https://github.com/mii443/qemu.git
synced 2025-12-03 02:58:29 +00:00
nbd: Add max-connections to nbd-server-start
This is a QMP equivalent of qemu-nbd's --shared option, limiting the maximum number of clients that can attach at the same time. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <20200924152717.287415-9-kwolf@redhat.com> Acked-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
@@ -101,9 +101,9 @@ static void help(void)
|
||||
" configure a QMP monitor\n"
|
||||
"\n"
|
||||
" --nbd-server addr.type=inet,addr.host=<host>,addr.port=<port>\n"
|
||||
" [,tls-creds=<id>][,tls-authz=<id>]\n"
|
||||
" [,tls-creds=<id>][,tls-authz=<id>][,max-connections=<n>]\n"
|
||||
" --nbd-server addr.type=unix,addr.path=<path>\n"
|
||||
" [,tls-creds=<id>][,tls-authz=<id>]\n"
|
||||
" [,tls-creds=<id>][,tls-authz=<id>][,max-connections=<n>]\n"
|
||||
" start an NBD server for exporting block nodes\n"
|
||||
"\n"
|
||||
" --object help list object types that can be added\n"
|
||||
|
||||
Reference in New Issue
Block a user