Re: [Qemu-devel] [PATCH] qcow2: get rid of qcow2_backing_read1 routine

2017-12-13 Thread Kevin Wolf
Am 12.12.2017 um 15:40 hat Edgar Kaziakhmedov geschrieben: > Since bdrv_co_preadv does all neccessary checks including > reading after the end of the backing file, avoid duplication > of verification before bdrv_co_preadv call. > > Signed-off-by: Edgar Kaziakhmedov > Reviewed-by: Vladimir Sements

Re: [Qemu-devel] [PATCH] qcow2: get rid of qcow2_backing_read1 routine

2017-12-12 Thread Eric Blake
On 12/12/2017 08:40 AM, Edgar Kaziakhmedov wrote: > Since bdrv_co_preadv does all neccessary checks including s/neccessary/necessary/ > reading after the end of the backing file, avoid duplication > of verification before bdrv_co_preadv call. > > Signed-off-by: Edgar Kaziakhmedov > Reviewed-by:

[Qemu-devel] [PATCH] qcow2: get rid of qcow2_backing_read1 routine

2017-12-12 Thread Edgar Kaziakhmedov
Since bdrv_co_preadv does all neccessary checks including reading after the end of the backing file, avoid duplication of verification before bdrv_co_preadv call. Signed-off-by: Edgar Kaziakhmedov Reviewed-by: Vladimir Sementsov-Ogievskiy --- block/qcow2.c | 51 -