Re: [Qemu-devel] [PATCH v2 3/5] qcow2: Make copy_sectors() byte based

2016-06-07 Thread Kevin Wolf
Am 07.06.2016 um 05:47 hat Eric Blake geschrieben: > On 06/06/2016 08:59 AM, Kevin Wolf wrote: > > This will allow copy on write operations where the overwritten part of > > the cluster is not aligned to sector boundaries. > > > > Also rename the function because it has nothing to do with sectors

Re: [Qemu-devel] [PATCH v2 3/5] qcow2: Make copy_sectors() byte based

2016-06-06 Thread Eric Blake
On 06/06/2016 08:59 AM, Kevin Wolf wrote: > This will allow copy on write operations where the overwritten part of > the cluster is not aligned to sector boundaries. > > Also rename the function because it has nothing to do with sectors any > more. > > Signed-off-by: Kevin Wolf > --- > block/qc

[Qemu-devel] [PATCH v2 3/5] qcow2: Make copy_sectors() byte based

2016-06-06 Thread Kevin Wolf
This will allow copy on write operations where the overwritten part of the cluster is not aligned to sector boundaries. Also rename the function because it has nothing to do with sectors any more. Signed-off-by: Kevin Wolf --- block/qcow2-cluster.c | 54 +