All of lore.kernel.org
 help / color / mirror / Atom feed
From: zhanghailiang <zhang.zhanghailiang@huawei.com>
To: Markus Armbruster <armbru@redhat.com>
Cc: qemu-devel@nongnu.org, amit.shah@redhat.com,
	peter.huangpeng@huawei.com,
	"Dr. David Alan Gilbert" <dgilbert@redhat.com>,
	quintela@redhat.com
Subject: Re: [Qemu-devel] Adding new migration-parameters - any easier way?
Date: Tue, 23 Jun 2015 16:03:20 +0800	[thread overview]
Message-ID: <558912C8.4040306@huawei.com> (raw)
In-Reply-To: <877fquzwwi.fsf@blackfin.pond.sub.org>

On 2015/6/23 15:50, Markus Armbruster wrote:
> zhanghailiang <zhang.zhanghailiang@huawei.com> writes:
>
>> On 2015/6/19 16:11, Markus Armbruster wrote:
> [...]
>>> To avoid the ugliness, we could change the QAPI generator.  Currently,
>>>
>>>       { 'command': 'migrate-set-parameters',
>>>         'data': 'MigrationParameters' }
>>>
>>> generates the same interface as when you inline MigrationParameters,
>>> namely
>>>
>>>       void qmp_migrate_set_parameters(bool has_compress_level,
>>>                                       int64_t compress_level,
>>>                                       bool has_compress_threads,
>>>                                       int64_t compress_threads,
>>>                                       bool has_decompress_threads,
>>>                                       int64_t decompress_threads,
>>>                                       ... more ...
>>>                                       Error **errp)
>>>
>>> It could instead generate
>>>
>>>       void qmp_migrate_set_parameters(MigrationParameters *parms,
>>>                                       Error **errp)
>>>
>>> No change to the wire protocol.  Fairly big, but relatively mechanical
>>> change to the handler functions.  I'd be willing to give it a shot and
>>> see how it turns out, but I can't do it for 2.4, sorry.
>>>
>>
>> Great, that would be fine~ Thanks.
>
> I think I can give it a try myself some time in the 2.5 cycle.
>

OK, thanks~ :)

      reply	other threads:[~2015-06-23  8:03 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-05  9:50 [Qemu-devel] Adding new migration-parameters - any easier way? Dr. David Alan Gilbert
2015-06-05 10:23 ` Dr. David Alan Gilbert
2015-06-05 12:30 ` Eric Blake
2015-06-05 14:00   ` Dr. David Alan Gilbert
2015-06-08 12:48     ` Markus Armbruster
2015-06-08 14:57       ` Dr. David Alan Gilbert
2015-06-09  6:36         ` Markus Armbruster
2015-06-09  8:42         ` [Qemu-devel] qapi: What does "'gen': false" actually do, and when should I use it? (was: Adding new migration-parameters - any easier way?) Markus Armbruster
2015-06-19 10:40           ` [Qemu-devel] qapi: What does "'gen': false" actually do, and when should I use it? Paolo Bonzini
2015-07-02 12:07             ` Markus Armbruster
2015-07-02 12:32           ` Markus Armbruster
2015-06-17 10:46 ` [Qemu-devel] Adding new migration-parameters - any easier way? zhanghailiang
2015-06-19  8:11   ` Markus Armbruster
2015-06-23  1:43     ` zhanghailiang
2015-06-23  7:50       ` Markus Armbruster
2015-06-23  8:03         ` zhanghailiang [this message]

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=558912C8.4040306@huawei.com \
    --to=zhang.zhanghailiang@huawei.com \
    --cc=amit.shah@redhat.com \
    --cc=armbru@redhat.com \
    --cc=dgilbert@redhat.com \
    --cc=peter.huangpeng@huawei.com \
    --cc=qemu-devel@nongnu.org \
    --cc=quintela@redhat.com \
    /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.