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>
Showing
- block/monitor/block-hmp-cmds.c 1 addition, 1 deletionblock/monitor/block-hmp-cmds.c
- blockdev-nbd.c 26 additions, 7 deletionsblockdev-nbd.c
- include/block/nbd.h 2 additions, 1 deletioninclude/block/nbd.h
- qapi/block-export.json 8 additions, 2 deletionsqapi/block-export.json
- storage-daemon/qemu-storage-daemon.c 2 additions, 2 deletionsstorage-daemon/qemu-storage-daemon.c
Loading
Please register or sign in to comment