qemu-block
[Top][All Lists]
Advanced

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

Re: [PATCH v7 01/14] block: return status from bdrv_append and friends


From: Vladimir Sementsov-Ogievskiy
Subject: Re: [PATCH v7 01/14] block: return status from bdrv_append and friends
Date: Fri, 5 Feb 2021 14:26:25 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0

05.02.2021 14:16, Alberto Garcia wrote:
On Tue 02 Feb 2021 01:49:43 PM CET, Vladimir Sementsov-Ogievskiy wrote:
The recommended use of qemu error api assumes returning status together
with setting errp and avoid void functions with errp parameter. Let's
improve bdrv_append and some friends to reduce error-propagation
overhead in further patches.

Choose int return status, because bdrv_replace_node_common() has call
to bdrv_check_update_perm(), which reports int status, which seems
correct to propagate.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>

I had already reviewed this one, hadn't I?

Reviewed-by: Alberto Garcia <berto@igalia.com>

Oh right, sorry.

--
Best regards,
Vladimir



reply via email to

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