summaryrefslogtreecommitdiffstats
path: root/util/qemu-coroutine-lock.c
diff options
context:
space:
mode:
authorKevin Wolf2017-01-13 19:02:32 +0100
committerKevin Wolf2017-02-28 20:40:36 +0100
commitd7086422b1c1e75e320519cfe26176db6ec97a37 (patch)
tree5b8cc8a489ee05f6432288590f1b621bccfa39c4 /util/qemu-coroutine-lock.c
parentblock: Add permissions to blk_new() (diff)
downloadqemu-d7086422b1c1e75e320519cfe26176db6ec97a37.tar.gz
qemu-d7086422b1c1e75e320519cfe26176db6ec97a37.tar.xz
qemu-d7086422b1c1e75e320519cfe26176db6ec97a37.zip
block: Add error parameter to blk_insert_bs()
Now that blk_insert_bs() requests the BlockBackend permissions for the node it attaches to, it can fail. Instead of aborting, pass the errors to the callers. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Acked-by: Fam Zheng <famz@redhat.com>
Diffstat (limited to 'util/qemu-coroutine-lock.c')
0 files changed, 0 insertions, 0 deletions