aboutsummaryrefslogtreecommitdiff
path: root/hw/s390x/s390-stattrib.c
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2018-07-03 10:37:58 +0800
committerJeff Cody <jcody@redhat.com>2018-07-02 23:23:45 -0400
commit9ded4a0114968e98b41494fc035ba14f84cdf700 (patch)
tree17ecd45ddb28747781507d8d5d8382b0560db60d /hw/s390x/s390-stattrib.c
parentdee12de89380483656072f775f5ef99f4426f966 (diff)
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 'hw/s390x/s390-stattrib.c')
0 files changed, 0 insertions, 0 deletions