diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-06-23 13:05:26 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-01-16 09:15:27 +0100 |
commit | 30831b63dac44e2cac6779a7d2db34daa560b142 (patch) | |
tree | f5ca5b668c3f5364806b45fb4009aa374b7ec753 /qapi-schema.json | |
parent | a7b83754aaff4e9dd012730e3060bfd2de9eee86 (diff) |
qmp-commands: move 'memsave' doc to schema
Notice that "cpu" argument is actually "cpu-index" in the json.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'qapi-schema.json')
-rw-r--r-- | qapi-schema.json | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/qapi-schema.json b/qapi-schema.json index 29ff705129..64acc1c228 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -2231,6 +2231,15 @@ # Since: 0.14.0 # # Notes: Errors were not reliably returned until 1.1 +# +# Example: +# +# -> { "execute": "memsave", +# "arguments": { "val": 10, +# "size": 100, +# "filename": "/tmp/virtual-mem-dump" } } +# <- { "return": {} } +# ## { 'command': 'memsave', 'data': {'val': 'int', 'size': 'int', 'filename': 'str', '*cpu-index': 'int'} } |