Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com>
---
 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 b829dc1..724c3a9 100644
--- a/docs/qmp-commands.txt
+++ b/docs/qmp-commands.txt
@@ -1111,23 +1111,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 582fbfd..758dd07 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -2694,6 +2694,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'} }
-- 
2.10.0


Reply via email to