Re: [Qemu-devel] [PATCH] block: Fix .bdrv_open flags

2016-01-14 Thread Stefan Hajnoczi
On Mon, Jan 11, 2016 at 07:32:36PM +0100, Kevin Wolf wrote: > bdrv_common_open() modified bs->open_flags after inferring the set of > options to pass to the driver's .bdrv_open callback. This means that the > cache options were correctly set in bs->open_flags (and therefore > correctly displayed in

Re: [Qemu-devel] [PATCH] block: Fix .bdrv_open flags

2016-01-11 Thread Christian Borntraeger
On 01/11/2016 07:32 PM, Kevin Wolf wrote: > bdrv_common_open() modified bs->open_flags after inferring the set of > options to pass to the driver's .bdrv_open callback. This means that the > cache options were correctly set in bs->open_flags (and therefore > correctly displayed in 'info block'), bu

Re: [Qemu-devel] [PATCH] block: Fix .bdrv_open flags

2016-01-11 Thread Denis V. Lunev
On 01/11/2016 09:32 PM, Kevin Wolf wrote: bdrv_common_open() modified bs->open_flags after inferring the set of options to pass to the driver's .bdrv_open callback. This means that the cache options were correctly set in bs->open_flags (and therefore correctly displayed in 'info block'), but the

[Qemu-devel] [PATCH] block: Fix .bdrv_open flags

2016-01-11 Thread Kevin Wolf
bdrv_common_open() modified bs->open_flags after inferring the set of options to pass to the driver's .bdrv_open callback. This means that the cache options were correctly set in bs->open_flags (and therefore correctly displayed in 'info block'), but the image would actually be opened with the defa