qemu-e2k/nbd
Kevin Wolf d7086422b1 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>
2017-02-28 20:40:36 +01:00
..
Makefile.objs nbd: Split nbd.c 2016-01-15 18:58:02 +01:00
client.c nbd: convert to use qio_channel_yield 2017-02-21 11:14:08 +00:00
common.c nbd: convert to use qio_channel_yield 2017-02-21 11:14:08 +00:00
nbd-internal.h io: change the QIOTask callback signature 2017-01-23 15:32:18 +00:00
server.c block: Add error parameter to blk_insert_bs() 2017-02-28 20:40:36 +01:00