diff options
author | Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> | 2021-02-02 15:49:51 +0300 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2021-03-08 16:01:47 -0600 |
commit | 0c1e9d2a9a3b6dd5ce74092019882fbce691d081 (patch) | |
tree | a27532aaa742a3dfebc81d4d97703e1947f0693c /block/monitor | |
parent | 83bad8cbf5c1276499cee13710db56c0101faa69 (diff) | |
download | qemu-0c1e9d2a9a3b6dd5ce74092019882fbce691d081.zip qemu-0c1e9d2a9a3b6dd5ce74092019882fbce691d081.tar.gz qemu-0c1e9d2a9a3b6dd5ce74092019882fbce691d081.tar.bz2 |
block/qcow2-bitmap: improve qcow2_load_dirty_bitmaps() interface
It's recommended for bool functions with errp to return true on success
and false on failure. Non-standard interfaces don't help to understand
the code. The change is also needed to reduce error propagation.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Message-Id: <20210202124956.63146-10-vsementsov@virtuozzo.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'block/monitor')
0 files changed, 0 insertions, 0 deletions