From: "qiaonuohan@cn.fujitsu.com" <qiaonuohan@cn.fujitsu.com>
To: Markus Armbruster <armbru@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>,
Luiz Capitulino <lcapitulino@redhat.com>,
Laszlo Ersek <lersek@redhat.com>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
Christian Borntraeger <borntraeger@de.ibm.com>
Subject: Re: [Qemu-devel] hmp interface for kdump compressed format
Date: Thu, 27 Mar 2014 01:22:33 +0000 [thread overview]
Message-ID: <53337CD7.90705@cn.fujitsu.com> (raw)
In-Reply-To: <87mwgc28o9.fsf@blackfin.pond.sub.org>
On 03/27/2014 01:04 AM, Markus Armbruster wrote:
>>>>> So something like adding
>>>>> >>>>
>>>>> >>>> dump_guest_memory_set_format<format>
>>>>> >>>>
>>>>> >>>> would be the only possible solution with the hmp code as is. Correct?
>>>> >>>
>>>> >>> Yes, one possibility would be to make the dump command stateful (=
>>>> >>> compression format), and to add a new command setting/getting that state.
>>>> >>>
>>>> >>> 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.
> Paolo encouraged you to*break* the existing HMP command instead of
> adding a new one. I'd like to second that.
> .
>
Hello markus,
I have finish my patch as I stated in my last mail, but something is
wrong with my mail server, I have to wait a couple of days before
sending the patch. You said you prefer *breaking* the existing HMP
command. Since paging/begin/length is still usefull, would you please
give some reason and I will consider that.
--
Regards
Qiao Nuohan
next prev parent reply other threads:[~2014-03-27 1:22 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-20 20:38 [Qemu-devel] hmp interface for kdump compressed format Christian Borntraeger
2014-03-20 20:56 ` Laszlo Ersek
2014-03-20 21:12 ` Laszlo Ersek
2014-03-20 21:18 ` Christian Borntraeger
2014-03-20 21:28 ` Laszlo Ersek
2014-03-20 21:51 ` Paolo Bonzini
2014-03-21 9:31 ` qiaonuohan
2014-03-21 9:38 ` Christian Borntraeger
2014-03-26 17:04 ` Markus Armbruster
2014-03-27 1:22 ` qiaonuohan [this message]
2014-03-27 8:38 ` Markus Armbruster
2014-04-02 1:54 ` qiaonuohan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53337CD7.90705@cn.fujitsu.com \
--to=qiaonuohan@cn.fujitsu.com \
--cc=armbru@redhat.com \
--cc=borntraeger@de.ibm.com \
--cc=lcapitulino@redhat.com \
--cc=lersek@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.