Re: [Qemu-devel] [PATCH 53/54] block: Add Error parameter to bdrv_set_backing_hd()

2017-02-25 Thread Max Reitz
On 21.02.2017 15:58, Kevin Wolf wrote: > Not all callers of bdrv_set_backing_hd() know for sure that attaching > the backing file will be allowed by the permission system. Return the > error from the function rather than aborting. > > Signed-off-by: Kevin Wolf > --- > block.c | 27

[Qemu-devel] [PATCH 53/54] block: Add Error parameter to bdrv_set_backing_hd()

2017-02-21 Thread Kevin Wolf
Not all callers of bdrv_set_backing_hd() know for sure that attaching the backing file will be allowed by the permission system. Return the error from the function rather than aborting. Signed-off-by: Kevin Wolf --- block.c | 27 --- block/commit.c|