qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 01/30] qmp-commands: move 'pmemsave' doc to schema


From: Marc-André Lureau
Subject: [Qemu-devel] [PATCH 01/30] qmp-commands: move 'pmemsave' doc to schema
Date: Thu, 22 Sep 2016 13:22:36 +0400

Signed-off-by: Marc-André Lureau <address@hidden>
---
 docs/qmp-commands.txt | 19 -------------------
 qapi-schema.json      |  9 +++++++++
 2 files changed, 9 insertions(+), 19 deletions(-)

diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt
index 280e337..5a91d77 100644
--- a/docs/qmp-commands.txt
+++ b/docs/qmp-commands.txt
@@ -217,25 +217,6 @@ Example:
 
 Note: CPUs' indexes are obtained with the 'query-cpus' command.
 
-pmemsave
---------
-
-Save to disk physical 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)
-
-Example:
-
--> { "execute": "pmemsave",
-             "arguments": { "val": 10,
-                            "size": 100,
-                            "filename": "/tmp/physical-mem-dump" } }
-<- { "return": {} }
-
 inject-nmi
 ----------
 
diff --git a/qapi-schema.json b/qapi-schema.json
index 5115b17..7aa742e 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -2174,6 +2174,15 @@
 # Since: 0.14.0
 #
 # Notes: Errors were not reliably returned until 1.1
+#
+# Example:
+#
+# -> { "execute": "pmemsave",
+#      "arguments": { "val": 10,
+#                     "size": 100,
+#                     "filename": "/tmp/physical-mem-dump" } }
+# <- { "return": {} }
+#
 ##
 { 'command': 'pmemsave',
   'data': {'val': 'int', 'size': 'int', 'filename': 'str'} }
-- 
2.10.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]