]> Git Repo - qemu.git/commitdiff
qmp-commands: move 'memsave' doc to schema
authorMarc-André Lureau <[email protected]>
Thu, 23 Jun 2016 11:05:26 +0000 (13:05 +0200)
committerMarkus Armbruster <[email protected]>
Mon, 16 Jan 2017 08:15:27 +0000 (09:15 +0100)
Notice that "cpu" argument is actually "cpu-index" in the json.

Signed-off-by: Marc-André Lureau <[email protected]>
Signed-off-by: Markus Armbruster <[email protected]>
docs/qmp-commands.txt
qapi-schema.json

index 215239fd92fe3c4caf80055f2c20802d0e20f667..df988abb5d812ea120e294e6f43ca64d7b1e54dd 100644 (file)
@@ -219,26 +219,6 @@ Example:
 
 Note: CPUs' indexes are obtained with the 'query-cpus' command.
 
-memsave
--------
-
-Save to disk virtual memory dump starting at 'val' of size 'size'.
-
-Arguments:
-
-- "val": the starting address (json-int)
-- "size": the memory size, in bytes (json-int)
-- "filename": file path (json-string)
-- "cpu": virtual CPU index (json-int, optional)
-
-Example:
-
--> { "execute": "memsave",
-             "arguments": { "val": 10,
-                            "size": 100,
-                            "filename": "/tmp/virtual-mem-dump" } }
-<- { "return": {} }
-
 pmemsave
 --------
 
index 29ff7051298e08aa4933638e78a17b76f55cf5a3..64acc1c228be4525e78e8a5ca7f72b9ceed01aed 100644 (file)
 # 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'} }
This page took 0.04488 seconds and 4 git commands to generate.