[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Adding new migration-parameters - any easier way?
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] Adding new migration-parameters - any easier way? |
Date: |
Tue, 23 Jun 2015 09:50:05 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
zhanghailiang <address@hidden> 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.
- Re: [Qemu-devel] Adding new migration-parameters - any easier way?, (continued)
- Re: [Qemu-devel] Adding new migration-parameters - any easier way?, Eric Blake, 2015/06/05
- Re: [Qemu-devel] Adding new migration-parameters - any easier way?, Dr. David Alan Gilbert, 2015/06/05
- Re: [Qemu-devel] Adding new migration-parameters - any easier way?, Markus Armbruster, 2015/06/08
- Re: [Qemu-devel] Adding new migration-parameters - any easier way?, Dr. David Alan Gilbert, 2015/06/08
- Re: [Qemu-devel] Adding new migration-parameters - any easier way?, Markus Armbruster, 2015/06/09
- [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/09
- Re: [Qemu-devel] qapi: What does "'gen': false" actually do, and when should I use it?, Paolo Bonzini, 2015/06/19
Re: [Qemu-devel] Adding new migration-parameters - any easier way?, zhanghailiang, 2015/06/17