diff options
| author | Kevin Wolf <kwolf@redhat.com> | 2017-02-17 20:42:32 +0100 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2017-02-28 20:47:51 +0100 |
| commit | 12fa4af61fb2a08b156134c3b6717534c637c995 (patch) | |
| tree | bd93d226c7af3454aa64b64bdb771b8fc5d22083 /hw/core/qdev-properties-system.c | |
| parent | c8f6d58edb0defbe1e90d44419ec8ec6d711c341 (diff) | |
| download | focaccia-qemu-12fa4af61fb2a08b156134c3b6717534c637c995.tar.gz focaccia-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 'hw/core/qdev-properties-system.c')
0 files changed, 0 insertions, 0 deletions