From: Marc-André Lureau Date: Thu, 23 Jun 2016 11:41:46 +0000 (+0200) Subject: qmp-commands: move 'screendump' doc to schema X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=77b6681ec224af6047a4ba76d7558c150a205718;p=qemu.git qmp-commands: move 'screendump' doc to schema Signed-off-by: Marc-André Lureau Signed-off-by: Markus Armbruster --- 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'} }