Re: [Qemu-devel] [PATCH 2/6] block: Create bdrv_backing_flags()

2014-04-29 Thread Max Reitz
On 25.04.2014 19:51, Kevin Wolf wrote: Instead of manipulation flags inline, move the derivation of the flags of a backing file into a new function next to the existing functions that derive flags for bs-file and for the block driver open function. Signed-off-by: Kevin Wolf kw...@redhat.com ---

[Qemu-devel] [PATCH 2/6] block: Create bdrv_backing_flags()

2014-04-25 Thread Kevin Wolf
Instead of manipulation flags inline, move the derivation of the flags of a backing file into a new function next to the existing functions that derive flags for bs-file and for the block driver open function. Signed-off-by: Kevin Wolf kw...@redhat.com --- block.c | 23 +-- 1