diff options
-rw-r--r-- | docs/qmp-commands.txt | 17 | ||||
-rw-r--r-- | qapi-schema.json | 7 |
2 files changed, 7 insertions, 17 deletions
diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt index 88bb012320..1faa47ff58 100644 --- a/docs/qmp-commands.txt +++ b/docs/qmp-commands.txt @@ -1128,23 +1128,6 @@ Example: "iops_size": 0 } } <- { "return": {} } -set_password ------------- - -Set the password for vnc/spice protocols. - -Arguments: - -- "protocol": protocol name (json-string) -- "password": password (json-string) -- "connected": [ keep | disconnect | fail ] (json-string, optional) - -Example: - --> { "execute": "set_password", "arguments": { "protocol": "vnc", - "password": "secret" } } -<- { "return": {} } - expire_password --------------- diff --git a/qapi-schema.json b/qapi-schema.json index 104f910269..52d76ac1b2 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -2784,6 +2784,13 @@ # If Spice is not enabled, DeviceNotFound # # Since: 0.14.0 +# +# Example: +# +# -> { "execute": "set_password", "arguments": { "protocol": "vnc", +# "password": "secret" } } +# <- { "return": {} } +# ## { 'command': 'set_password', 'data': {'protocol': 'str', 'password': 'str', '*connected': 'str'} } |