Re: [Qemu-devel] [PATCH v17 7/8] Implement new driver for block replication

2016-04-13 Thread Changlong Xie
On 04/13/2016 09:02 PM, Stefan Hajnoczi wrote: On Mon, Apr 11, 2016 at 04:22:58PM +0800, Changlong Xie wrote: +static coroutine_fn int replication_co_writev(BlockDriverState *bs, + int64_t sector_num, + int

Re: [Qemu-devel] [PATCH v17 7/8] Implement new driver for block replication

2016-04-13 Thread Stefan Hajnoczi
On Mon, Apr 11, 2016 at 04:22:58PM +0800, Changlong Xie wrote: > +static coroutine_fn int replication_co_writev(BlockDriverState *bs, > + int64_t sector_num, > + int remaining_sectors, > +

[Qemu-devel] [PATCH v17 7/8] Implement new driver for block replication

2016-04-11 Thread Changlong Xie
From: Wen Congyang Signed-off-by: Wen Congyang Signed-off-by: zhanghailiang Signed-off-by: Gonglei Signed-off-by: Changlong Xie --- block/Makefile.objs | 1 + block/replication.c | 622 +++ tests/.gitignore | 1 + tests/Makefi