qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 14/30] qmp-commands: move 'expire_password' doc to s


From: Marc-André Lureau
Subject: [Qemu-devel] [PATCH 14/30] qmp-commands: move 'expire_password' doc to schema
Date: Thu, 22 Sep 2016 13:22:49 +0400

Signed-off-by: Marc-André Lureau <address@hidden>
---
 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

[Prev in Thread] Current Thread [Next in Thread]