]> git.proxmox.com Git - mirror_qemu.git/commit
iotests: Add test for data_off check
authorAlexander Ivanov <alexander.ivanov@virtuozzo.com>
Sat, 1 Jul 2023 10:11:23 +0000 (12:11 +0200)
committerDenis V. Lunev <den@openvz.org>
Wed, 6 Sep 2023 15:36:49 +0000 (17:36 +0200)
commit06fca745d5ba3be8b693985e6075d6ba2782f145
tree32b04d124449776341abc2caf769b81ea34dd25b
parente3820d5f13188cd7e63109ca70ab47916f18ca6e
iotests: Add test for data_off check

Write a pattern to the first cluster. Corrupt the data_off field and check
if the field was repaired on image opening and the pattern has not changed.

Signed-off-by: Alexander Ivanov <alexander.ivanov@virtuozzo.com>
Reviewed-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: Denis V. Lunev <den@openvz.org>
tests/qemu-iotests/tests/parallels-checks
tests/qemu-iotests/tests/parallels-checks.out