|
@@ -2428,7 +2428,7 @@ DEF("chardev", HAS_ARG, QEMU_OPTION_chardev,
|
|
|
"-chardev null,id=id[,mux=on|off][,logfile=PATH][,logappend=on|off]\n"
|
|
|
"-chardev socket,id=id[,host=host],port=port[,to=to][,ipv4][,ipv6][,nodelay][,reconnect=seconds]\n"
|
|
|
" [,server][,nowait][,telnet][,websocket][,reconnect=seconds][,mux=on|off]\n"
|
|
|
- " [,logfile=PATH][,logappend=on|off][,tls-creds=ID] (tcp)\n"
|
|
|
+ " [,logfile=PATH][,logappend=on|off][,tls-creds=ID][,tls-authz=ID] (tcp)\n"
|
|
|
"-chardev socket,id=id,path=path[,server][,nowait][,telnet][,websocket][,reconnect=seconds]\n"
|
|
|
" [,mux=on|off][,logfile=PATH][,logappend=on|off] (unix)\n"
|
|
|
"-chardev udp,id=id[,host=host],port=port[,localaddr=localaddr]\n"
|
|
@@ -2557,7 +2557,7 @@ The available backends are:
|
|
|
A void device. This device will not emit any data, and will drop any data it
|
|
|
receives. The null backend does not take any options.
|
|
|
|
|
|
-@item -chardev socket,id=@var{id}[,@var{TCP options} or @var{unix options}][,server][,nowait][,telnet][,websocket][,reconnect=@var{seconds}][,tls-creds=@var{id}]
|
|
|
+@item -chardev socket,id=@var{id}[,@var{TCP options} or @var{unix options}][,server][,nowait][,telnet][,websocket][,reconnect=@var{seconds}][,tls-creds=@var{id}][,tls-authz=@var{id}]
|
|
|
|
|
|
Create a two-way stream socket, which can be either a TCP or a unix socket. A
|
|
|
unix socket will be created if @option{path} is specified. Behaviour is
|
|
@@ -2583,6 +2583,12 @@ and specifies the id of the TLS credentials to use for the handshake. The
|
|
|
credentials must be previously created with the @option{-object tls-creds}
|
|
|
argument.
|
|
|
|
|
|
+@option{tls-auth} provides the ID of the QAuthZ authorization object against
|
|
|
+which the client's x509 distinguished name will be validated. This object is
|
|
|
+only resolved at time of use, so can be deleted and recreated on the fly
|
|
|
+while the chardev server is active. If missing, it will default to denying
|
|
|
+access.
|
|
|
+
|
|
|
TCP and unix socket options are given below:
|
|
|
|
|
|
@table @option
|