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 /qemu-io-cmds.c | |
| parent | fe446b5da225b551fc6493890d437fe4a8ba7552 (diff) | |
| download | focaccia-qemu-f91f1f159bcaa81a70e860079a73ae7d1220dc0c.tar.gz focaccia-qemu-f91f1f159bcaa81a70e860079a73ae7d1220dc0c.zip | |
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 'qemu-io-cmds.c')
0 files changed, 0 insertions, 0 deletions