[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 11/16] Add new block driver interfaces to contro
From: |
Wen Congyang |
Subject: |
Re: [Qemu-devel] [PATCH 11/16] Add new block driver interfaces to control block replication |
Date: |
Wed, 9 Sep 2015 17:24:18 +0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 |
On 09/03/2015 12:33 AM, Eric Blake wrote:
> On 09/02/2015 02:51 AM, Wen Congyang wrote:
>> Signed-off-by: Wen Congyang <address@hidden>
>> Signed-off-by: zhanghailiang <address@hidden>
>> Signed-off-by: Gonglei <address@hidden>
>> Cc: Luiz Capitulino <address@hidden>
>> Cc: Michael Roth <address@hidden>
>> Reviewed-by: Paolo Bonzini <address@hidden>
>> ---
>> block.c | 43 +++++++++++++++++++++++++++++++++++++++++++
>> include/block/block.h | 5 +++++
>> include/block/block_int.h | 14 ++++++++++++++
>> qapi/block-core.json | 15 +++++++++++++++
>> 4 files changed, 77 insertions(+)
>>
>
> Just an interface review for now:
>
>> +++ b/qapi/block-core.json
>> @@ -1810,6 +1810,21 @@
>> 'data': { '*export': 'str' } }
>>
>> ##
>> +# @ReplicationMode
>> +#
>> +# An enumeration of replication modes.
>> +#
>> +# @unprotected: Replication is not started or after failover.
>
> Maybe:
>
> Replication is either not started, or has experienced failover.
OK
>
>> +#
>> +# @primary: Primary mode, the vm's state will be sent to secondary QEMU.
>> +#
>> +# @secondary: Secondary mode, receive the vm's state from primary QEMU.
>> +#
>> +# Since: 2.4
>
> You've missed 2.4; this should be 2.5.
Yes, I forgot to update it. I will check all patches.
>
>> +##
>> +{ 'enum' : 'ReplicationMode', 'data' : [ 'primary', 'secondary' ] }
>
> Where is 'unprotected' in this list?
>
I don't know when it is removed. I will check it and fix it in the next version.
Thanks
Wen Congyang
- Re: [Qemu-devel] [PATCH 06/16] quorum: allow ignoring child errors, (continued)
[Qemu-devel] [PATCH 09/16] Allow creating backup jobs when opening BDS, Wen Congyang, 2015/09/02
[Qemu-devel] [PATCH 05/16] introduce a new API qemu_opts_absorb_qdict_by_index(), Wen Congyang, 2015/09/02
[Qemu-devel] [PATCH 08/16] block: make bdrv_put_ref_bh_schedule() as a public API, Wen Congyang, 2015/09/02
[Qemu-devel] [PATCH 11/16] Add new block driver interfaces to control block replication, Wen Congyang, 2015/09/02
[Qemu-devel] [PATCH 12/16] skip nbd_target when starting block replication, Wen Congyang, 2015/09/02
[Qemu-devel] [PATCH 13/16] quorum: implement block driver interfaces for block replication, Wen Congyang, 2015/09/02
[Qemu-devel] [PATCH 10/16] docs: block replication's description, Wen Congyang, 2015/09/02
[Qemu-devel] [PATCH 15/16] support replication driver in blockdev-add, Wen Congyang, 2015/09/02
[Qemu-devel] [PATCH 16/16] Add a new API to start/stop replication, do checkpoint to all BDSes, Wen Congyang, 2015/09/02