From 77b6681ec224af6047a4ba76d7558c150a205718 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marc-Andr=C3=A9=20Lureau?= Date: Thu, 23 Jun 2016 13:41:46 +0200 Subject: [PATCH] qmp-commands: move 'screendump' doc to schema MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Marc-André Lureau Signed-off-by: Markus Armbruster --- docs/qmp-commands.txt | 14 -------------- qapi-schema.json | 7 +++++++ 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'} } -- 2.11.0