]> git.proxmox.com Git - qemu.git/commit
hmp: dump-guest-memory: hardcode protocol argument to "file:"
authorLuiz Capitulino <lcapitulino@redhat.com>
Fri, 21 Sep 2012 16:53:00 +0000 (13:53 -0300)
committerLuiz Capitulino <lcapitulino@redhat.com>
Thu, 27 Sep 2012 12:46:17 +0000 (09:46 -0300)
commit753637695bcf6b80ea96614de5d31161603ad50f
treedd047ee8a85ec989b81a1758baae2acd5726de08
parent2f61652d660ec1ffdadf926401a174c11f5c13a7
hmp: dump-guest-memory: hardcode protocol argument to "file:"

Today, it's necessary to specify the protocol you want to use
when dumping the guest memory, for example:

 (qemu) dump-guest-memory file:/tmp/guest-memory

This has a few issues:

 1. It's cumbersome to type
 2. We loose file path autocompletion
 3. Being able to specify fd:X in HMP makes little sense for humans

Because of these reasons, hardcode the 'protocol' argument to
'file:' in HMP.

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
hmp-commands.hx
hmp.c