From: Marc-André Lureau Date: Thu, 23 Jun 2016 11:20:39 +0000 (+0200) Subject: qmp-commands: move 'set_password' doc to schema X-Git-Tag: v2.9.0-rc0~148^2~125 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4d8a374e3e62ab581be74a66915fd38b1c98816f;p=thirdparty%2Fqemu.git qmp-commands: move 'set_password' doc to schema Signed-off-by: Marc-André Lureau Signed-off-by: Markus Armbruster --- diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt index 88bb012320d..1faa47ff58d 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 104f910269f..52d76ac1b26 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'} }