diff options
author | Hanna Reitz | 2022-04-05 15:46:52 +0200 |
---|---|---|
committer | Hanna Reitz | 2022-04-20 12:09:17 +0200 |
commit | 0423f75351ab83b844a31349218b0eadd830e07a (patch) | |
tree | a1a6b2c735135e967f8e705ce5113d66c72075b2 /tests/qemu-iotests/iotests.py | |
parent | iotests/108: Test new refcount rebuild algorithm (diff) | |
download | qemu-0423f75351ab83b844a31349218b0eadd830e07a.tar.gz qemu-0423f75351ab83b844a31349218b0eadd830e07a.tar.xz qemu-0423f75351ab83b844a31349218b0eadd830e07a.zip |
qcow2: Add errp to rebuild_refcount_structure()
Instead of fprint()-ing error messages in rebuild_refcount_structure()
and its rebuild_refcounts_write_refblocks() helper, pass them through an
Error object to qcow2_check_refcounts() (which will then print it).
Suggested-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
Message-Id: <20220405134652.19278-4-hreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/iotests.py')
0 files changed, 0 insertions, 0 deletions