diff options
author | 2014-10-22 14:09:43 +0200 | |
---|---|---|
committer | 2014-10-23 15:34:01 +0200 | |
commit | 234764eed1aab56a657a161e9a0c65730442e6f8 (patch) | |
tree | 4a1c36d63746748b682d17697bc9a3cbfca29b4d /qemu-file.c | |
parent | iotests: Fix test outputs (diff) | |
download | qemu-234764eed1aab56a657a161e9a0c65730442e6f8.tar.xz qemu-234764eed1aab56a657a161e9a0c65730442e6f8.zip |
iotests: Add test for potentially damaging repairs
There are certain cases where repairing a qcow2 image might actually
damage it further (or rather, where repairing it has in fact damaged it
further with the old qcow2 check implementation). This should not
happen, so add a test for these cases.
Furthermore, the repair function now repairs refblocks beyond the image
end by resizing the image accordingly. Add several tests for this as
well.
Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-file.c')
0 files changed, 0 insertions, 0 deletions