]> git.ipfire.org Git - thirdparty/qemu.git/commit
block: get type of block allocation in commit_run
authorVincent Vanlaer <libvirt-e6954efa@volkihar.be>
Sat, 26 Oct 2024 16:30:05 +0000 (18:30 +0200)
committerVladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Tue, 29 Apr 2025 09:55:28 +0000 (12:55 +0300)
commit71365ee433125026d9744a0a37142c81ff312b53
tree943952241fdc71e17e7422f6e190d625722aae8d
parent73d29ea2417b58ca55fba1aa468ba38e3607b583
block: get type of block allocation in commit_run

bdrv_co_common_block_status_above not only returns whether the block is
allocated, but also if it contains zeroes.

Signed-off-by: Vincent Vanlaer <libvirt-e6954efa@volkihar.be>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Message-Id: <20241026163010.2865002-2-libvirt-e6954efa@volkihar.be>
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
block/commit.c