diff options
author | Denis V. Lunev <den@openvz.org> | 2023-09-18 20:00:47 +0200 |
---|---|---|
committer | Denis V. Lunev <den@openvz.org> | 2023-09-21 08:46:55 +0200 |
commit | f025a99e614f730b3d8902158f4c6c2d947eb855 (patch) | |
tree | f23382521ec50071a0886a48fb33f24e03a29329 /block/parallels.c | |
parent | a398275e88103c0c0a7f3784b30683f3bd3f640b (diff) | |
download | qemu-f025a99e614f730b3d8902158f4c6c2d947eb855.zip qemu-f025a99e614f730b3d8902158f4c6c2d947eb855.tar.gz qemu-f025a99e614f730b3d8902158f4c6c2d947eb855.tar.bz2 |
tests: ensure that image validation will not cure the corruption
Since
commit cfce1091d55322789582480798a891cbaf66924e
Author: Alexander Ivanov <alexander.ivanov@virtuozzo.com>
Date: Tue Jul 18 12:44:29 2023 +0200
parallels: Image repairing in parallels_open()
there is a potential pit fall with calling
qemu-io -c "read"
The image is opened in read-write mode and thus could be potentially
repaired. This could ruin testing process.
The patch forces read-only opening for reads. In that case repairing
is impossible.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Alexander Ivanov <alexander.ivanov@virtuozzo.com>
Diffstat (limited to 'block/parallels.c')
0 files changed, 0 insertions, 0 deletions