qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-block] [PATCH 25/54] block: Add error parameter to blk_insert_


From: Max Reitz
Subject: Re: [Qemu-block] [PATCH 25/54] block: Add error parameter to blk_insert_bs()
Date: Wed, 22 Feb 2017 15:42:42 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0

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 <address@hidden>
> ---
>  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 <address@hidden>

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]