Re: [Qemu-block] [PATCH v2 17/20] qemu-io: Use bdrv_parse_cache_mode() in reopen_f()

2016-03-29 Thread Max Reitz
On 29.03.2016 15:30, Kevin Wolf wrote: > We must forbid changing the WCE flag in bdrv_reopen() in the same patch, > as otherwise the behaviour would change so that the flag takes > precedence over the explicitly specified option. > > The correct value of the WCE flag depends on the BlockBackend us

[Qemu-block] [PATCH v2 17/20] qemu-io: Use bdrv_parse_cache_mode() in reopen_f()

2016-03-29 Thread Kevin Wolf
We must forbid changing the WCE flag in bdrv_reopen() in the same patch, as otherwise the behaviour would change so that the flag takes precedence over the explicitly specified option. The correct value of the WCE flag depends on the BlockBackend user (e.g. guest device) and isn't a decision that