diff options
author | Max Reitz <mreitz@redhat.com> | 2019-10-11 17:28:08 +0200 |
---|---|---|
committer | Max Reitz <mreitz@redhat.com> | 2019-10-28 11:54:02 +0100 |
commit | f91f1f159bcaa81a70e860079a73ae7d1220dc0c (patch) | |
tree | 6d4cd144994cfeb5a174259e922f93ca879bf29f /io/task.c | |
parent | fe446b5da225b551fc6493890d437fe4a8ba7552 (diff) |
qcow2: Fix broken snapshot table entries
The only case where we currently reject snapshot table entries is when
they have too much extra data. Fix them with qemu-img check -r all by
counting it as a corruption, reducing their extra_data_size, and then
letting qcow2_check_fix_snapshot_table() do the rest.
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 20191011152814.14791-11-mreitz@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'io/task.c')
0 files changed, 0 insertions, 0 deletions