Re: [Qemu-devel] [PATCH 01/20] block: Add bdrv_parse_cache_mode()

2016-03-26 Thread Max Reitz
On 18.03.2016 19:21, Kevin Wolf wrote: > It's like bdrv_parse_cache_flags(), except that writethrough mode isn't > included in the flags, but returned as a separate bool. > > Signed-off-by: Kevin Wolf > --- > block.c | 17 + > include/block/block.h | 1 + > 2 files

[Qemu-devel] [PATCH 01/20] block: Add bdrv_parse_cache_mode()

2016-03-19 Thread Kevin Wolf
It's like bdrv_parse_cache_flags(), except that writethrough mode isn't included in the flags, but returned as a separate bool. Signed-off-by: Kevin Wolf --- block.c | 17 + include/block/block.h | 1 + 2 files changed, 18 insertions(+) diff --git a/block.c b/bloc