Re: [Qemu-devel] [PATCH 2/2] backup: Use copy offloading

2018-06-01 Thread Stefan Hajnoczi
On Thu, May 31, 2018 at 10:34:45AM +0800, Fam Zheng wrote: > The implementation is similar to the 'qemu-img convert'. In the > beginning of the job, offloaded copy is attempted. If it fails, further > I/O will go through the existing bounce buffer code path. > > Signed-off-by: Fam Zheng > --- >

[Qemu-devel] [PATCH 2/2] backup: Use copy offloading

2018-05-30 Thread Fam Zheng
The implementation is similar to the 'qemu-img convert'. In the beginning of the job, offloaded copy is attempted. If it fails, further I/O will go through the existing bounce buffer code path. Signed-off-by: Fam Zheng --- block/backup.c | 93 +++--