On 21.02.2017 15:58, Kevin Wolf wrote: > 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 <kw...@redhat.com> > --- > block.c | 5 ++++- > block/backup.c | 5 ++++- > block/block-backend.c | 13 ++++++++----- > block/commit.c | 38 ++++++++++++++++++++++++++++++-------- > block/mirror.c | 15 ++++++++++++--- > block/qcow2.c | 10 ++++++++-- > blockdev.c | 11 +++++++++-- > blockjob.c | 7 ++++++- > hmp.c | 6 +++++- > hw/core/qdev-properties-system.c | 7 ++++++- > include/sysemu/block-backend.h | 2 +- > migration/block.c | 2 +- > nbd/server.c | 6 +++++- > tests/test-blockjob.c | 2 +- > 14 files changed, 100 insertions(+), 29 deletions(-)
Reviewed-by: Max Reitz <mre...@redhat.com>
signature.asc
Description: OpenPGP digital signature