On 5/14/20 11:32 PM, xiaoqiang zhao wrote:
add options documents changes for -chardev
Signed-off-by: xiaoqiang zhao <address@hidden>
Reviewed-by: Daniel P. Berrangé <address@hidden>
---
qemu-options.hx | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
I'd suggest listing 'abstract' before 'tight', since 'tight' only
matters for abstract. I also have grammar suggestions:
- ``unix options: path=path``
+ ``unix options: path=path[,tight=on|off][,abstract=on|off]``
``path`` specifies the local path of the unix socket. ``path``
is required.
+ ``tight`` whether to set @addrlen to the minimal string length,
+ or the maximum sun_path length. defaults to true. ``tight`` is
+ optional.
+ ``abstract`` whether use abstract address. defaults to false.
+ ``abstract`` is optional.
``abstract`` specifies the use of the abstract socket namespace,
rather than the filesystem. Optional, defaults to false.
``tight`` sets the socket length of abstract sockets to their minimum,
rather than the full sun_path length. Optional, defaults to true.