]> Git Repo - qemu.git/commit
block: Add Error parameter to bdrv_set_backing_hd()
authorKevin Wolf <[email protected]>
Fri, 17 Feb 2017 19:42:32 +0000 (20:42 +0100)
committerKevin Wolf <[email protected]>
Tue, 28 Feb 2017 19:47:51 +0000 (20:47 +0100)
commit12fa4af61fb2a08b156134c3b6717534c637c995
treebd93d226c7af3454aa64b64bdb771b8fc5d22083
parentc8f6d58edb0defbe1e90d44419ec8ec6d711c341
block: Add Error parameter to bdrv_set_backing_hd()

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 <[email protected]>
Acked-by: Fam Zheng <[email protected]>
Reviewed-by: Max Reitz <[email protected]>
block.c
block/commit.c
block/mirror.c
block/stream.c
block/vvfat.c
include/block/block.h
This page took 0.02779 seconds and 4 git commands to generate.