mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-01-05 14:07:41 -07:00
qapi/block: Document restrictions for node names
blockdev-add fails if an invalid node name is given, so we should document what a valid node name even is. Reported-by: Cong Li <coli@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Cong Li <coli@redhat.com> Reviewed-by: Alberto Garcia <berto@igalia.com>
This commit is contained in:
parent
6984eb8da2
commit
dbfdf6cb36
1 changed files with 3 additions and 0 deletions
|
|
@ -3572,6 +3572,9 @@
|
|||
# @driver: block driver name
|
||||
# @node-name: the node name of the new node (Since 2.0).
|
||||
# This option is required on the top level of blockdev-add.
|
||||
# Valid node names start with an alphabetic character and may
|
||||
# contain only alphanumeric characters, '-', '.' and '_'. Their
|
||||
# maximum length is 31 characters.
|
||||
# @discard: discard-related options (default: ignore)
|
||||
# @cache: cache-related options
|
||||
# @read-only: whether the block device should be read-only (default: false).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue