diff options
author | Alexander Ivanov <alexander.ivanov@virtuozzo.com> | 2023-07-18 12:44:32 +0200 |
---|---|---|
committer | Denis V. Lunev <den@openvz.org> | 2023-09-06 17:36:49 +0200 |
commit | c89d4362dc01a60831d6a69affa220573fa9b029 (patch) | |
tree | bac3f2cd509d0a80fa703308300b2a259f769a50 /tests | |
parent | 8cd19203f46f1374d6b45291e1c5a45706dbc3aa (diff) | |
download | qemu-c89d4362dc01a60831d6a69affa220573fa9b029.zip qemu-c89d4362dc01a60831d6a69affa220573fa9b029.tar.gz qemu-c89d4362dc01a60831d6a69affa220573fa9b029.tar.bz2 |
parallels: Add data_off repairing to parallels_open()
Place data_start/data_end calculation after reading the image header
to s->header. Set s->data_start to the offset calculated in
parallels_test_data_off(). Call bdrv_check() if data_off is incorrect.
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>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions