Re: [Qemu-devel] [PATCH v2 for-2.10 3/4] block: Add errp to BD.bdrv_truncate()

2017-03-28 Thread Max Reitz
On 23.03.2017 19:00, Kevin Wolf wrote: > Am 08.03.2017 um 20:15 hat Max Reitz geschrieben: >> Add an Error parameter to the block drivers' bdrv_truncate() interface. >> If a block driver does not set this in case of an error, the generic >> bdrv_truncate() implementation will do so. >> >> Where it

Re: [Qemu-devel] [PATCH v2 for-2.10 3/4] block: Add errp to BD.bdrv_truncate()

2017-03-23 Thread Kevin Wolf
Am 08.03.2017 um 20:15 hat Max Reitz geschrieben: > Add an Error parameter to the block drivers' bdrv_truncate() interface. > If a block driver does not set this in case of an error, the generic > bdrv_truncate() implementation will do so. > > Where it is obvious, this patch also makes some block

[Qemu-devel] [PATCH v2 for-2.10 3/4] block: Add errp to BD.bdrv_truncate()

2017-03-08 Thread Max Reitz
Add an Error parameter to the block drivers' bdrv_truncate() interface. If a block driver does not set this in case of an error, the generic bdrv_truncate() implementation will do so. Where it is obvious, this patch also makes some block drivers set this value. Signed-off-by: Max Reitz --- incl