]> git.proxmox.com Git - mirror_qemu.git/commitdiff
qmp-commands: move 'set_password' doc to schema
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 23 Jun 2016 11:20:39 +0000 (13:20 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 16 Jan 2017 08:15:28 +0000 (09:15 +0100)
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
docs/qmp-commands.txt
qapi-schema.json

index 88bb012320d8d89efa4477bdccfb18bf0bae9021..1faa47ff58d0fdc4b59c9c90a0f902ddd5356811 100644 (file)
@@ -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
 ---------------
 
index 104f910269f2ef71498fd92709fc85162618ec26..52d76ac1b262112f78cf349adc77cd3a8d6bd114 100644 (file)
 #          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'} }