Re: [Qemu-devel] [PATCH 10/20] block: Move enable_write_cache to BB level

2016-03-26 Thread Max Reitz
On 18.03.2016 19:21, Kevin Wolf wrote: > Whether a write cache is used or not is a decision that concerns the > user (e.g. the guest device) rather than the backend. It was already > logically part of the BB level as bdrv_move_feature_fields() always kept > it on top of the BDS tree; with this patc

[Qemu-devel] [PATCH 10/20] block: Move enable_write_cache to BB level

2016-03-19 Thread Kevin Wolf
Whether a write cache is used or not is a decision that concerns the user (e.g. the guest device) rather than the backend. It was already logically part of the BB level as bdrv_move_feature_fields() always kept it on top of the BDS tree; with this patch, the core of it (the actual flag and the addi