qemu-e2k/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
..
avocado tests/avocado/machine_s390_ccw_virtio: Adapt test to new default resolution 2022-02-25 13:31:37 +01:00
bench
data ACPI ERST: step 6 of bios-tables-test.c 2022-02-06 04:33:50 -05:00
decode
docker tests/docker: introduce debian-riscv64-test-cross 2022-02-28 16:42:02 +00:00
fp
guest-debug
image-fuzzer
include
keys
lcitool tests/docker: update debian-s390x-cross with lcitool 2022-02-28 16:42:02 +00:00
migration
multiboot
perf/block/qcow2
plugin tests/plugins: add instruction matching to libinsn.so 2022-02-09 12:08:42 +00:00
qapi-schema
qemu-iotests iotests/graph-changes-while-io: New test 2022-03-04 18:18:26 +01:00
qtest target-arm queue: 2022-03-03 14:46:48 +00:00
rocker
tcg Testing and semihosting updates: 2022-03-02 10:46:16 +00:00
tsan
uefi-test-tools
unit rcu: use coroutine TLS macros 2022-03-04 18:14:40 +01:00
vm
vmstate-static-checker-data
check-block.sh configure, meson: move some default-disabled options to meson_options.txt 2022-02-21 10:35:53 +01:00
dbus-vmstate-daemon.sh
Makefile.include configure, meson: move guest-agent, tools to meson 2022-02-21 10:35:53 +01:00
meson.build meson: use .allowed() method for features 2022-02-16 15:01:33 +01:00
requirements.txt
test-qht-par.c
vhost-user-bridge.c