[Qemu-block] [PATCH COLO-BLOCK v7 16/17] quorum: implement block driver interfaces for block replication

2015-06-29 Thread Wen Congyang
Signed-off-by: Wen Congyang Signed-off-by: zhanghailiang Signed-off-by: Gonglei Cc: Alberto Garcia --- block/quorum.c | 78 ++ 1 file changed, 78 insertions(+) diff --git a/block/quorum.c b/block/quorum.c index 6774d4c..bafa774 100644 --

Re: [Qemu-block] [PATCH COLO-BLOCK v7 16/17] quorum: implement block driver interfaces for block replication

2015-07-03 Thread Alberto Garcia
On Tue 30 Jun 2015 05:34:44 AM CEST, Wen Congyang wrote: > +static void quorum_start_replication(BlockDriverState *bs, ReplicationMode > mode, > + Error **errp) > +{ > +BDRVQuorumState *s = bs->opaque; > +int count = 0, i, index; > +Error *local_err