path: root/hmp-commands.hx
diff options
authorQiao Nuohan <qiaonuohan@cn.fujitsu.com>2014-04-17 16:15:06 +0800
committerLuiz Capitulino <lcapitulino@redhat.com>2014-04-25 11:17:38 -0400
commitc20499d9854e5d04710f17d577df65ed7c7aacf1 (patch)
treec7325b1967cc9e5a96e28df81c7952019c3c80dd /hmp-commands.hx
parentc3481247e58ff3f13337ce0a262b058799bd156c (diff)
HMP: fix doc of dump-guest-memory
Signed-off-by: Qiao Nuohan <qiaonuohan@cn.fujitsu.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'hmp-commands.hx')
1 files changed, 10 insertions, 9 deletions
diff --git a/hmp-commands.hx b/hmp-commands.hx
index 4c4d2619c6..d79cb977a9 100644
--- a/hmp-commands.hx
+++ b/hmp-commands.hx
@@ -1001,25 +1001,26 @@ ETEXI
.name = "dump-guest-memory",
.args_type = "paging:-p,filename:F,begin:i?,length:i?",
- .params = "[-p] filename [begin] [length]",
- .help = "dump guest memory to file"
- "\n\t\t\t begin(optional): the starting physical address"
- "\n\t\t\t length(optional): the memory size, in bytes",
+ .params = "[-p] filename [begin length]",
+ .help = "dump guest memory into file 'filename'.\n\t\t\t"
+ "-p: do paging to get guest's memory mapping.\n\t\t\t"
+ "begin: the starting physical address.\n\t\t\t"
+ "length: the memory size, in bytes.",
.mhandler.cmd = hmp_dump_guest_memory,
-@item dump-guest-memory [-p] @var{protocol} @var{begin} @var{length}
+@item dump-guest-memory [-p] @var{filename} @var{begin} @var{length}
@findex dump-guest-memory
Dump guest memory to @var{protocol}. The file can be processed with crash or
- filename: dump file name
- paging: do paging to get guest's memory mapping
+ -p: do paging to get guest's memory mapping.
+ filename: dump file name.
begin: the starting physical address. It's optional, and should be
- specified with length together.
+ specified together with length.
length: the memory size, in bytes. It's optional, and should be specified
- with begin together.
+ together with begin.