Re: [Qemu-devel] [PATCH 4/6] block-backend: Add blk_aio_copy_range

2018-06-15 Thread Stefan Hajnoczi
On Fri, Jun 08, 2018 at 02:04:15PM +0800, Fam Zheng wrote: Why is a new _aio_ interface needed? Aren't the copy_range callers coroutines? > Signed-off-by: Fam Zheng > --- > block/block-backend.c | 36 ++ > include/sysemu/block-backend.h | 4 > 2 f

[Qemu-devel] [PATCH 4/6] block-backend: Add blk_aio_copy_range

2018-06-07 Thread Fam Zheng
Signed-off-by: Fam Zheng --- block/block-backend.c | 36 ++ include/sysemu/block-backend.h | 4 2 files changed, 40 insertions(+) diff --git a/block/block-backend.c b/block/block-backend.c index e20a204bee..36d928e13d 100644 --- a/block/block-backen