aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 13:41:46 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:15:30 +0100
commit77b6681ec224af6047a4ba76d7558c150a205718 (patch)
tree6bfbd04c9b40df2f0b20a1aa0160c3aa179c7330
parentf45fd52cefaf84fab166dd9d25d12b87813f4882 (diff)
qmp-commands: move 'screendump' doc to schema
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
-rw-r--r--docs/qmp-commands.txt14
-rw-r--r--qapi-schema.json7
2 files changed, 7 insertions, 14 deletions
diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt
index 38ccf8405b..4201b50279 100644
--- a/docs/qmp-commands.txt
+++ b/docs/qmp-commands.txt
@@ -72,20 +72,6 @@ Example:
Note: The "force" argument defaults to false.
-screendump
-----------
-
-Save screen into PPM image.
-
-Arguments:
-
-- "filename": file path (json-string)
-
-Example:
-
--> { "execute": "screendump", "arguments": { "filename": "/tmp/image" } }
-<- { "return": {} }
-
device_add
----------
diff --git a/qapi-schema.json b/qapi-schema.json
index a1030e2d31..2f171c0155 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -4608,6 +4608,13 @@
# Returns: Nothing on success
#
# Since: 0.14.0
+#
+# Example:
+#
+# -> { "execute": "screendump",
+# "arguments": { "filename": "/tmp/image" } }
+# <- { "return": {} }
+#
##
{ 'command': 'screendump', 'data': {'filename': 'str'} }