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'} }