From 4d8a374e3e62ab581be74a66915fd38b1c98816f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Thu, 23 Jun 2016 13:20:39 +0200 Subject: [PATCH] qmp-commands: move 'set_password' doc to schema MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marc-André Lureau Signed-off-by: Markus Armbruster --- docs/qmp-commands.txt | 17 ----------------- 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'} }