diff options
| author | Fam Zheng | 2018-06-01 11:26:42 +0200 |
|---|---|---|
| committer | Stefan Hajnoczi | 2018-06-01 15:41:48 +0200 |
| commit | fd9fcd37a8645efe322956d94f76e90135522a16 (patch) | |
| tree | 4b5244acff71bc2924a9653dfb04f240722f5083 /scripts/modules | |
| parent | raw: Implement copy offloading (diff) | |
| download | qemu-fd9fcd37a8645efe322956d94f76e90135522a16.tar.gz qemu-fd9fcd37a8645efe322956d94f76e90135522a16.tar.xz qemu-fd9fcd37a8645efe322956d94f76e90135522a16.zip | |
qcow2: Implement copy offloading
The two callbacks are implemented quite similarly to the read/write
functions: bdrv_co_copy_range_from maps for read and calls into bs->file
or bs->backing depending on the allocation status; bdrv_co_copy_range_to
maps for write and calls into bs->file.
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
Message-id: 20180601092648.24614-5-famz@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'scripts/modules')
0 files changed, 0 insertions, 0 deletions
