]> Git Repo - qemu.git/commit - block/qcow2-refcount.c
qcow2: Check snapshot L1 tables in qcow2_check_metadata_overlap()
authorAlberto Garcia <[email protected]>
Tue, 6 Mar 2018 16:14:09 +0000 (18:14 +0200)
committerKevin Wolf <[email protected]>
Fri, 9 Mar 2018 14:17:47 +0000 (15:17 +0100)
commitc7a9d81d7061a7fb3b5b5726a6f139444e1ad5e6
tree44b21981894d20caf3d27c5ce3d2e22fd0dde866
parentc9a442e45094e693da45f0e3d03746d68e4460ec
qcow2: Check snapshot L1 tables in qcow2_check_metadata_overlap()

The inactive-l2 overlap check iterates uses the L1 tables from all
snapshots, but it does not validate them first.

We now have a function to take care of this, so let's use it.

Signed-off-by: Alberto Garcia <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
block/qcow2-refcount.c
tests/qemu-iotests/080
tests/qemu-iotests/080.out
This page took 0.02698 seconds and 4 git commands to generate.