aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2018-06-01 17:26:39 +0800
committerStefan Hajnoczi <stefanha@redhat.com>2018-06-01 14:41:47 +0100
commitfcc6767836efe1b160289905dce7228d594c123c (patch)
treec3954aa99fedfd2ef658dba81c900a25521379f3 /hw
parentc25e8bba1f546ea72744ccfab77f8a9e8a323be8 (diff)
downloadqemu-fcc6767836efe1b160289905dce7228d594c123c.zip
qemu-fcc6767836efe1b160289905dce7228d594c123c.tar.gz
qemu-fcc6767836efe1b160289905dce7228d594c123c.tar.bz2
block: Introduce API for copy offloading
Introduce the bdrv_co_copy_range() API for copy offloading. Block drivers implementing this API support efficient copy operations that avoid reading each block from the source device and writing it to the destination devices. Examples of copy offload primitives are SCSI EXTENDED COPY and Linux copy_file_range(2). Signed-off-by: Fam Zheng <famz@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Message-id: 20180601092648.24614-2-famz@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw')
0 files changed, 0 insertions, 0 deletions