aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/qapi-commands.py
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2017-02-17 20:42:32 +0100
committerKevin Wolf <kwolf@redhat.com>2017-02-28 20:47:51 +0100
commit12fa4af61fb2a08b156134c3b6717534c637c995 (patch)
treebd93d226c7af3454aa64b64bdb771b8fc5d22083 /scripts/qapi-commands.py
parentblock: Assertions for resize permission (diff)
downloadqemu-12fa4af61fb2a08b156134c3b6717534c637c995.tar.xz
qemu-12fa4af61fb2a08b156134c3b6717534c637c995.zip
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 <kwolf@redhat.com> Acked-by: Fam Zheng <famz@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'scripts/qapi-commands.py')
0 files changed, 0 insertions, 0 deletions