]> Git Repo - qemu.git/commit - tests/qemu-iotests/122.out
iotests: Improve _filter_qemu_img_map
authorEric Blake <[email protected]>
Sun, 7 May 2017 00:05:48 +0000 (19:05 -0500)
committerMax Reitz <[email protected]>
Thu, 11 May 2017 12:28:07 +0000 (14:28 +0200)
commitd9ca2214bd058cfb4371b8373123c0444e4a5ac8
tree3aa13951b1f5cac78dee85c21c64ad3fb966d809
parent06cc5e2b2d01cb778c966e1b4135062556b3b054
iotests: Improve _filter_qemu_img_map

Although _filter_qemu_img_map documents that it scrubs offsets, it
was only doing so for human mode.  Of the existing tests using the
filter (97, 122, 150, 154, 176), two of them are affected, but it
does not hurt the validity of the tests to not require particular
mappings (another test, 66, uses offsets but intentionally does not
pass through _filter_qemu_img_map, because it checks that offsets
are unchanged before and after an operation).

Another justification for this patch is that it will allow a future
patch to utilize 'qemu-img map --output=json' to check the status of
preallocated zero clusters without regards to the mapping (since
the qcow2 mapping can be very sensitive to the chosen cluster size,
when preallocation is not in use).

Signed-off-by: Eric Blake <[email protected]>
Reviewed-by: Max Reitz <[email protected]>
Message-id: 20170507000552[email protected]
Signed-off-by: Max Reitz <[email protected]>
tests/qemu-iotests/122.out
tests/qemu-iotests/154.out
tests/qemu-iotests/common.filter
This page took 0.026996 seconds and 4 git commands to generate.