qemu-cr16/tests/qemu-iotests/tests
Hanna Reitz 971bea8089 iotests/graph-changes-while-io: New test
Test the following scenario:
1. Some block node (null-co) attached to a user (here: NBD server) that
   performs I/O and keeps the node in an I/O thread
2. Repeatedly run blockdev-add/blockdev-del to add/remove an overlay
   to/from that node

Each blockdev-add triggers bdrv_refresh_limits(), and because
blockdev-add runs in the main thread, it does not stop the I/O requests.
I/O can thus happen while the limits are refreshed, and when such a
request sees a temporarily invalid block limit (e.g. alignment is 0),
this may easily crash qemu (or the storage daemon in this case).

The block layer needs to ensure that I/O requests to a node are paused
while that node's BlockLimits are refreshed.

Signed-off-by: Hanna Reitz <hreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20220216105355.30729-4-hreitz@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2022-03-04 18:18:26 +01:00
..
block-status-cache iotests/block-status-cache: New test 2022-01-28 16:55:23 -06:00
block-status-cache.out iotests/block-status-cache: New test 2022-01-28 16:55:23 -06:00
fuse-allow-other iotests/fuse-allow-other: Test allow-other 2021-07-09 12:26:05 +02:00
fuse-allow-other.out iotests/fuse-allow-other: Test allow-other 2021-07-09 12:26:05 +02:00
graph-changes-while-io iotests/graph-changes-while-io: New test 2022-03-04 18:18:26 +01:00
graph-changes-while-io.out iotests/graph-changes-while-io: New test 2022-03-04 18:18:26 +01:00
image-fleecing pylint: fix errors and warnings generated by tests/qemu-iotests/297 2021-11-02 12:47:51 +01:00
image-fleecing.out iotests/image-fleecing: add test-case for copy-before-write filter 2021-09-01 14:38:08 +02:00
migrate-bitmaps-postcopy-test iotests: specify some unsupported_imgopts for python iotests 2022-02-01 10:51:39 +01:00
migrate-bitmaps-postcopy-test.out
migrate-bitmaps-test iotests: specify some unsupported_imgopts for python iotests 2022-02-01 10:51:39 +01:00
migrate-bitmaps-test.out
migrate-during-backup block: bdrv_inactivate_recurse(): check for permissions and fix crash 2021-09-15 15:54:07 +02:00
migrate-during-backup.out tests: add migrate-during-backup 2021-09-15 15:54:07 +02:00
migration-permissions iotests/migration-permissions: New test 2022-02-01 10:51:39 +01:00
migration-permissions.out iotests/migration-permissions: New test 2022-02-01 10:51:39 +01:00
mirror-ready-cancel-error iotests/MRCE: Write data to source 2022-02-01 10:51:39 +01:00
mirror-ready-cancel-error.out iotests: Add mirror-ready-cancel-error test 2021-10-07 10:42:50 +02:00
mirror-top-perms python/machine: raise VMLaunchFailure exception from launch() 2022-02-02 14:12:22 -05:00
mirror-top-perms.out iotests: Test mirror-top filter permissions 2021-04-09 18:00:29 +02:00
nbd-qemu-allocation iotests: Improve and rename test 309 to nbd-qemu-allocation 2021-07-12 10:56:41 -05:00
nbd-qemu-allocation.out qemu-img: Make unallocated part of backing chain obvious in map 2021-07-12 11:10:53 -05:00
nbd-reconnect-on-open iotests: add nbd-reconnect-on-open test 2021-12-23 09:40:34 +01:00
nbd-reconnect-on-open.out iotests: add nbd-reconnect-on-open test 2021-12-23 09:40:34 +01:00
parallels-read-bitmap
parallels-read-bitmap.out
qemu-img-bitmaps qemu-img: Add --skip-broken-bitmaps for 'convert --bitmaps' 2021-07-21 14:14:41 -05:00
qemu-img-bitmaps.out qemu-img: Add --skip-broken-bitmaps for 'convert --bitmaps' 2021-07-21 14:14:41 -05:00
qsd-jobs iotests/qsd-jobs: Filter events in the first test 2021-04-09 18:00:29 +02:00
qsd-jobs.out job: @force parameter for job_cancel_sync() 2021-10-07 10:42:09 +02:00
remove-bitmap-from-backing iotests: specify some unsupported_imgopts for python iotests 2022-02-01 10:51:39 +01:00
remove-bitmap-from-backing.out iotests: add test for removing persistent bitmap from backing file 2021-04-09 18:00:29 +02:00
stream-error-on-reset iotests/stream-error-on-reset: New test 2022-01-14 12:03:16 +01:00
stream-error-on-reset.out iotests/stream-error-on-reset: New test 2022-01-14 12:03:16 +01:00