Re: [PATCH v3 4/5] qcow2: Don't require aligned offsets in qcow2_co_copy_range_from()

2020-01-21 Thread Max Reitz
On 18.01.20 20:09, Alberto Garcia wrote: > qemu-img's convert_co_copy_range() operates at the sector level and > block_copy() operates at the cluster level so this condition is always > true, but it is not necessary to restrict this here, so let's leave it > to the driver implementation return an e

[PATCH v3 4/5] qcow2: Don't require aligned offsets in qcow2_co_copy_range_from()

2020-01-18 Thread Alberto Garcia
qemu-img's convert_co_copy_range() operates at the sector level and block_copy() operates at the cluster level so this condition is always true, but it is not necessary to restrict this here, so let's leave it to the driver implementation return an error if there is any. Signed-off-by: Alberto Gar