]> Git Repo - qemu.git/commit
qemu-iotests: allow qcow2 external discarded clusters to contain stale data
authorPaolo Bonzini <[email protected]>
Thu, 9 Apr 2020 19:10:06 +0000 (15:10 -0400)
committerKevin Wolf <[email protected]>
Thu, 30 Apr 2020 15:51:06 +0000 (17:51 +0200)
commit3fb61087074474b088fee23bb81ffd258cb9cb2a
treebf089acc40162da08156b13aeed858b9b575422c
parenta50c1f57e491ba17c0fcb7d285dfe04770be0a70
qemu-iotests: allow qcow2 external discarded clusters to contain stale data

Test 244 checks the expected behavior of qcow2 external data files
with respect to zero and discarded clusters.  Filesystems however
are free to ignore discard requests, and this seems to be the
case for overlayfs.  Relax the tests to skip checks on the
external data file for discarded areas, which implies not using
qemu-img compare in the data_file_raw=on case.

This fixes docker tests on RHEL8.

Cc: Kevin Wolf <[email protected]>
Cc: [email protected]
Signed-off-by: Paolo Bonzini <[email protected]>
Message-Id: <20200409191006[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
tests/qemu-iotests/244
tests/qemu-iotests/244.out
This page took 0.026956 seconds and 4 git commands to generate.