summaryrefslogtreecommitdiffstats
path: root/include/block
diff options
context:
space:
mode:
authorFam Zheng2018-07-03 04:37:58 +0200
committerJeff Cody2018-07-03 05:23:45 +0200
commit9ded4a0114968e98b41494fc035ba14f84cdf700 (patch)
tree17ecd45ddb28747781507d8d5d8382b0560db60d /include/block
parentblock: Honour BDRV_REQ_NO_SERIALISING in copy range (diff)
downloadqemu-9ded4a0114968e98b41494fc035ba14f84cdf700.tar.gz
qemu-9ded4a0114968e98b41494fc035ba14f84cdf700.tar.xz
qemu-9ded4a0114968e98b41494fc035ba14f84cdf700.zip
backup: Use copy offloading
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. Then, as Kevin pointed out, both this and qemu-img convert can benefit from a local check if one request fails because of, for example, the offset is beyond EOF, but another may well be accepted by the protocol layer. This will be implemented separately. Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Fam Zheng <famz@redhat.com> Message-id: 20180703023758.14422-4-famz@redhat.com Signed-off-by: Jeff Cody <jcody@redhat.com>
Diffstat (limited to 'include/block')
0 files changed, 0 insertions, 0 deletions