On 21/03/14 10:31, qiaonuo...@cn.fujitsu.com wrote: [....] >>> Another option would be to leave the current command intact, and add an >>> independent command that wouldn't take "begin", "end", nor "paging", but >>> would take compression format. >> >> Another possibility is to kill begin/length from the dump-guest-memory >> command. >> HMP is not stable, so if that's useful we can do it. > > AFAIK, kdump-compressed format can only be analyzed by crash-utility right > now. ELF is big but we still need it, then begin/length will help us save > time and space when only part of the memory is need. > > IMHO, a new HMP command will be a good choice and it is more simple than > making dump format 'stateful'. I am not so clear about HMP, but I think > the new HMP command can be 'dump-guest-memory-with-format', and still > base on qmp_dump_guest_memory. If you guys like it, I will send a patch > that add this command.
Yes, please do, if you find the time. Maybe user "dump-guest-memory-format" or whatever comes up might be a better name, though. Thanks a lot Christian