Re: [Qemu-devel] [PULL 10/18] block: Move 'discard' option to bdrv_open_common()

2016-10-07 Thread Kevin Wolf
Am 07.10.2016 um 11:01 hat Gerd Hoffmann geschrieben: > On Di, 2016-09-27 at 15:53 +0200, Kevin Wolf wrote: > > This enables its use for nested child nodes. The compatibility > > between the 'discard' and 'detect-zeroes' setting is checked in > > bdrv_open_common() now as the former setting isn't

Re: [Qemu-devel] [PULL 10/18] block: Move 'discard' option to bdrv_open_common()

2016-10-07 Thread Gerd Hoffmann
On Di, 2016-09-27 at 15:53 +0200, Kevin Wolf wrote: > This enables its use for nested child nodes. The compatibility > between the 'discard' and 'detect-zeroes' setting is checked in > bdrv_open_common() now as the former setting isn't available before > calling bdrv_open() any more. Seems this

[Qemu-devel] [PULL 10/18] block: Move 'discard' option to bdrv_open_common()

2016-09-27 Thread Kevin Wolf
This enables its use for nested child nodes. The compatibility between the 'discard' and 'detect-zeroes' setting is checked in bdrv_open_common() now as the former setting isn't available before calling bdrv_open() any more. Signed-off-by: Kevin Wolf Reviewed-by: Eric Blake