diff options
author | Hanna Reitz | 2022-01-18 18:00:00 +0100 |
---|---|---|
committer | Eric Blake | 2022-01-28 23:55:23 +0100 |
commit | 6384dd534d742123d26c008d9794b20bc41359d5 (patch) | |
tree | 7df9fecef293dd8af36385e83d75a34b61e0b3d9 /python | |
parent | block/io: Update BSC only if want_zero is true (diff) | |
download | qemu-6384dd534d742123d26c008d9794b20bc41359d5.tar.gz qemu-6384dd534d742123d26c008d9794b20bc41359d5.tar.xz qemu-6384dd534d742123d26c008d9794b20bc41359d5.zip |
iotests/block-status-cache: New test
Add a new test to verify that want_zero=false block-status calls do not
pollute the block-status cache for want_zero=true calls.
We check want_zero=true calls and their results using `qemu-img map`
(over NBD), and want_zero=false calls also using `qemu-img map` over
NBD, but using the qemu:allocation-depth context.
(This test case cannot be integrated into nbd-qemu-allocation, because
that is a qcow2 test, and this is a raw test.)
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
Message-Id: <20220118170000.49423-3-hreitz@redhat.com>
Reviewed-by: Nir Soffer <nsoffer@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Tested-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions