Hi, > This patch add a new qmp 'change-vnc-authz' to support change the > tls/sasl authz of vm. If index='', unset tlsauthzid/sasl.authzid > { > "execute":"change-vnc-authz", > "arguments":{ > "index":"object-authz-id", > "type":"tls/sasl" > } > }
> +## > +# @change-vnc-authz: > +# > +# Change the VNC server authz. > +# > +# @type: the new authz type to use with VNC authentication > +# @index: the new authz object index to use with VNC authentication > +# > +# Since: 5.2 > +# > +## > +{ 'command': 'change-vnc-authz', > + 'data': { 'type' : 'str', > + 'index': 'str'}, > + 'if': 'defined(CONFIG_VNC_SASL)' } type should be an enum I think. Also index should be an int (and possibly an optional argument so you can just not specify index to unset). take care, Gerd