Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com>
---
 docs/qmp-commands.txt | 16 ----------------
 qapi-schema.json      |  7 +++++++
 2 files changed, 7 insertions(+), 16 deletions(-)

diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt
index 724c3a9..0082101 100644
--- a/docs/qmp-commands.txt
+++ b/docs/qmp-commands.txt
@@ -1111,22 +1111,6 @@ Example:
                                                "iops_size": 0 } }
 <- { "return": {} }
 
-expire_password
----------------
-
-Set the password expire time for vnc/spice protocols.
-
-Arguments:
-
-- "protocol": protocol name (json-string)
-- "time": [ now | never | +secs | secs ] (json-string)
-
-Example:
-
--> { "execute": "expire_password", "arguments": { "protocol": "vnc",
-                                                  "time": "+60" } }
-<- { "return": {} }
-
 qmp_capabilities
 ----------------
 
diff --git a/qapi-schema.json b/qapi-schema.json
index 758dd07..9d78854 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -2727,6 +2727,13 @@
 #        coordinate server time with client time.  It is not recommended to
 #        use the absolute time version of the @time parameter unless you're
 #        sure you are on the same machine as the QEMU instance.
+#
+# Example:
+#
+# -> { "execute": "expire_password", "arguments": { "protocol": "vnc",
+#                                                   "time": "+60" } }
+# <- { "return": {} }
+#
 ##
 { 'command': 'expire_password', 'data': {'protocol': 'str', 'time': 'str'} }
 
-- 
2.10.0


Reply via email to