Revision 783e9b48 hmp-commands.hx

b/hmp-commands.hx
878 878
new parameters (if specified) once the vm migration finished successfully.
879 879
ETEXI
880 880

  
881
#if defined(CONFIG_HAVE_CORE_DUMP)
882
    {
883
        .name       = "dump-guest-memory",
884
        .args_type  = "paging:-p,protocol:s,begin:i?,length:i?",
885
        .params     = "[-p] protocol [begin] [length]",
886
        .help       = "dump guest memory to file"
887
                      "\n\t\t\t begin(optional): the starting physical address"
888
                      "\n\t\t\t length(optional): the memory size, in bytes",
889
        .user_print = monitor_user_noop,
890
        .mhandler.cmd = hmp_dump_guest_memory,
891
    },
892

  
893

  
894
STEXI
895
@item dump-guest-memory [-p] @var{protocol} @var{begin} @var{length}
896
@findex dump-guest-memory
897
Dump guest memory to @var{protocol}. The file can be processed with crash or
898
gdb.
899
  protocol: destination file(started with "file:") or destination file
900
            descriptor (started with "fd:")
901
    paging: do paging to get guest's memory mapping
902
     begin: the starting physical address. It's optional, and should be
903
            specified with length together.
904
    length: the memory size, in bytes. It's optional, and should be specified
905
            with begin together.
906
ETEXI
907
#endif
908

  
881 909
    {
882 910
        .name       = "snapshot_blkdev",
883 911
        .args_type  = "reuse:-n,device:B,snapshot-file:s?,format:s?",

Also available in: Unified diff