summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy2021-02-02 13:49:43 +0100
committerEric Blake2021-02-12 22:36:41 +0100
commita1e708fcda5eab10c866a7d6a4fad4f80b69ad15 (patch)
tree96e2c16bf9c770920cb0d74933ae6cb8a01f3fef /scripts
parentqemu-iotests: 300: Add test case for modifying persistence of bitmap (diff)
downloadqemu-a1e708fcda5eab10c866a7d6a4fad4f80b69ad15.tar.gz
qemu-a1e708fcda5eab10c866a7d6a4fad4f80b69ad15.tar.xz
qemu-a1e708fcda5eab10c866a7d6a4fad4f80b69ad15.zip
block: return status from bdrv_append and friends
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> Message-Id: <20210202124956.63146-2-vsementsov@virtuozzo.com> Reviewed-by: Alberto Garcia <berto@igalia.com> Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions