[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 21/30] qmp-commands: move 'dump-guest-memory' doc to
From: |
Marc-André Lureau |
Subject: |
[Qemu-devel] [PATCH 21/30] qmp-commands: move 'dump-guest-memory' doc to schema |
Date: |
Thu, 22 Sep 2016 13:22:56 +0400 |
Signed-off-by: Marc-André Lureau <address@hidden>
---
docs/qmp-commands.txt | 30 ------------------------------
qapi-schema.json | 8 ++++++++
2 files changed, 8 insertions(+), 30 deletions(-)
diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt
index 0359516..0fc4cde 100644
--- a/docs/qmp-commands.txt
+++ b/docs/qmp-commands.txt
@@ -180,36 +180,6 @@ Example:
-> { "execute": "migrate-set-cache-size", "arguments": { "value": 536870912 } }
<- { "return": {} }
-dump
-
-
-Dump guest memory to file. The file can be processed with crash or gdb.
-
-Arguments:
-
-- "paging": do paging to get guest's memory mapping (json-bool)
-- "protocol": destination file(started with "file:") or destination file
- descriptor (started with "fd:") (json-string)
-- "detach": if specified, command will return immediately, without waiting
- for the dump to finish. The user can track progress using
- "query-dump". (json-bool)
-- "begin": the starting physical address. It's optional, and should be
specified
- with length together (json-int)
-- "length": the memory size, in bytes. It's optional, and should be specified
- with begin together (json-int)
-- "format": the format of guest memory dump. It's optional, and can be
- elf|kdump-zlib|kdump-lzo|kdump-snappy, but non-elf formats will
- conflict with paging and filter, ie. begin and length (json-string)
-
-Example:
-
--> { "execute": "dump-guest-memory", "arguments": { "protocol": "fd:dump" } }
-<- { "return": {} }
-
-Notes:
-
-(1) All boolean arguments default to false
-
query-dump-guest-memory-capability
----------
diff --git a/qapi-schema.json b/qapi-schema.json
index 19bb04d..3c292d1 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -3111,9 +3111,17 @@
# @length is not allowed to be specified with non-elf @format at the
# same time (since 2.0)
#
+# Note: All boolean arguments default to false
+#
# Returns: nothing on success
#
# Since: 1.2
+#
+# Example:
+#
+# -> { "execute": "dump-guest-memory", "arguments": { "protocol": "fd:dump" } }
+# <- { "return": {} }
+#
##
{ 'command': 'dump-guest-memory',
'data': { 'paging': 'bool', 'protocol': 'str', '*detach': 'bool',
--
2.10.0
- [Qemu-devel] [PATCH 11/30] qmp-commands: move 'migrate_set_speed' doc to schema, (continued)
- [Qemu-devel] [PATCH 11/30] qmp-commands: move 'migrate_set_speed' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 12/30] qmp-commands: move 'query-migrate-cache-size' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 13/30] qmp-commands: move 'set_password' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 14/30] qmp-commands: move 'expire_password' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 15/30] qmp-commands: move 'change' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 16/30] qmp-commands: move 'migrate' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 17/30] qmp-commands: move 'migrate-incoming' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 18/30] qmp-commands: move 'xen-save-devices-state' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 19/30] qmp-commands: move 'xen-set-global-dirty-log' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 20/30] qmp-commands: move 'device_del' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 21/30] qmp-commands: move 'dump-guest-memory' doc to schema,
Marc-André Lureau <=
- [Qemu-devel] [PATCH 22/30] qmp-commands: move 'query-dump-guest-memory-capability' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 23/30] qmp-commands: move 'dump-skeys' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 24/30] qmp-commands: move 'netdev_add' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 25/30] qmp-commands: move 'netdev_del' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 26/30] qmp-commands: move 'object-add' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 27/30] qmp-commands: move 'object-del' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 28/30] qmp-commands: move 'getfd' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 29/30] qmp-commands: move 'closefd' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 30/30] qmp-commands: move 'add-fd' doc to schema, Marc-André Lureau, 2016/09/22
- Re: [Qemu-devel] [PATCH 00/30] Move qapi documentation to schema (part 2/5), Eric Blake, 2016/09/22