Re: [Qemu-devel] [PATCH for-2.10 1/3] block: Add errp to b{lk, drv}_truncate()

2017-03-08 Thread Max Reitz
On 07.03.2017 11:47, Kevin Wolf wrote: > Am 06.03.2017 um 20:54 hat Max Reitz geschrieben: >> For one thing, this allows us to drop the error message generation from >> qemu-img.c and blockdev.c and instead have it unified in >> bdrv_truncate(). >> >> Signed-off-by: Max Reitz > >> block/commit.c

Re: [Qemu-devel] [PATCH for-2.10 1/3] block: Add errp to b{lk, drv}_truncate()

2017-03-08 Thread Max Reitz
On 07.03.2017 11:47, Kevin Wolf wrote: > Am 06.03.2017 um 20:54 hat Max Reitz geschrieben: >> For one thing, this allows us to drop the error message generation from >> qemu-img.c and blockdev.c and instead have it unified in >> bdrv_truncate(). >> >> Signed-off-by: Max Reitz > >> block/commit.c

Re: [Qemu-devel] [PATCH for-2.10 1/3] block: Add errp to b{lk, drv}_truncate()

2017-03-07 Thread Kevin Wolf
Am 06.03.2017 um 20:54 hat Max Reitz geschrieben: > For one thing, this allows us to drop the error message generation from > qemu-img.c and blockdev.c and instead have it unified in > bdrv_truncate(). > > Signed-off-by: Max Reitz > block/commit.c | 5 +++-- > block/mirror.c

[Qemu-devel] [PATCH for-2.10 1/3] block: Add errp to b{lk, drv}_truncate()

2017-03-06 Thread Max Reitz
For one thing, this allows us to drop the error message generation from qemu-img.c and blockdev.c and instead have it unified in bdrv_truncate(). Signed-off-by: Max Reitz --- include/block/block.h | 2 +- include/sysemu/block-backend.h | 2 +- block.c| 16 +