Re: [Qemu-devel] [PATCH 11/20] block/qapi: Use blk_enable_write_cache()

2016-03-26 Thread Max Reitz
On 18.03.2016 19:21, Kevin Wolf wrote: > Now that WCE is handled on the BlockBackend level, the flag is > meaningless for BDSes. As the schema requires us to fill the field, > we return an enabled write cache for them. > > Note that this means that querying the BlockBackend name may return > write

[Qemu-devel] [PATCH 11/20] block/qapi: Use blk_enable_write_cache()

2016-03-19 Thread Kevin Wolf
Now that WCE is handled on the BlockBackend level, the flag is meaningless for BDSes. As the schema requires us to fill the field, we return an enabled write cache for them. Note that this means that querying the BlockBackend name may return writethrough as the cache information, whereas querying