diff mbox

[23/30] qmp-commands: move 'dump-skeys' doc to schema

Message ID 20160922092305.2895-24-marcandre.lureau@redhat.com
State New
Headers show

Commit Message

Marc-André Lureau Sept. 22, 2016, 9:22 a.m. UTC
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
 docs/qmp-commands.txt | 14 --------------
 qapi-schema.json      |  6 ++++++
 2 files changed, 6 insertions(+), 14 deletions(-)
diff mbox

Patch

diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt
index b84446f..051bbfd 100644
--- a/docs/qmp-commands.txt
+++ b/docs/qmp-commands.txt
@@ -193,20 +193,6 @@  Example:
 <- { "return": { "status": "active", "completed": 1024000,
                  "total": 2048000 } }
 
-dump-skeys
-----------
-
-Save guest storage keys to file.
-
-Arguments:
-
-- "filename": file path (json-string)
-
-Example:
-
--> { "execute": "dump-skeys", "arguments": { "filename": "/tmp/skeys" } }
-<- { "return": {} }
-
 netdev_add
 ----------
 
diff --git a/qapi-schema.json b/qapi-schema.json
index ee15044..381454e 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -3216,6 +3216,12 @@ 
 # This command is only supported on s390 architecture.
 #
 # Since: 2.5
+#
+# Example:
+#
+# -> { "execute": "dump-skeys", "arguments": { "filename": "/tmp/skeys" } }
+# <- { "return": {} }
+#
 ##
 { 'command': 'dump-skeys',
   'data': { 'filename': 'str' } }