qemu/tests
Paolo Bonzini 89d26d34ce tests/unit: remove block layer code from test-nested-aio-poll
GCC is reporting a NULL pointer dereference when compiling aio_wait_kick()
with LTO.

The issue is that test-nested-aio-poll.c does not call qemu_init_main_loop().
It doesn't _need_ to because it never calls AIO_WAIT_WHILE(), but it seems
that LTO does not do enough dead-code elimination to catch that.

Fortunately aio_wait_kick() is only used in few places, and only in block
layer or system emulation code; and this test only needs the core event loop
functionality.  It does not even need iothreads.   So remove everything that
calls aio_wait_kick(), which is nice for coverage compared to adding the call
to qemu_init_main_loop().

Reported-by: Richard W.M. Jones <rjones@redhat.com>
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2434
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2024-10-02 12:58:46 +02:00
..
avocado tests/functional: Convert the powernv tests from boot_linux_console.py 2024-09-24 13:45:06 +02:00
bench tests/bench: Rename test_akcipher_keys.inc -> test_akcipher_keys.c.inc 2024-09-20 10:08:24 +03:00
data tests/acpi: update aarch64/virt/SSDT.memhp 2024-09-17 10:26:27 +02:00
decode tests/: spelling fixes 2023-09-08 13:08:52 +03:00
docker buildsys: Remove CRIS cross container 2024-09-13 20:10:50 +02:00
fp tests/fp: Make mul and div tests have a longer timeout 2024-09-18 20:58:43 +01:00
functional * Convert more Avocado tests to the new functional test framework 2024-09-28 12:34:38 +01:00
guest-debug tests/guest-debug: Support passing arguments to the GDB test script 2024-09-10 23:33:55 +01:00
image-fuzzer
include
keys
lcitool * Split --enable-sanitizers to --enable-{asan, ubsan} 2024-09-11 19:28:23 +01:00
migration tests/qtest/migration-test: Use custom asm bios for ppc64 2024-06-14 14:01:23 -03:00
multiboot
perf/block/qcow2
qapi-schema tests/qapi-schema: Drop temporary 'prefix' 2024-09-10 13:22:47 +02:00
qemu-iotests tests/qemu-iotests/testenv: Use the "r2d" machine for sh4/sh4eb 2024-09-20 10:05:00 +03:00
qtest tests/qtest: remove return after g_assert_not_reached() 2024-09-24 13:53:35 +02:00
rocker
tcg trivial patches for 2024-09-20 2024-09-25 13:56:18 +01:00
tsan block: remove AioContext locking 2023-12-21 22:49:27 +01:00
uefi-test-tools tests/data/uefi-boot-images: Add RISC-V ISO image 2024-07-03 18:14:06 -04:00
unit tests/unit: remove block layer code from test-nested-aio-poll 2024-10-02 12:58:46 +02:00
vm Update FreeBSD CI jobs FreeBSD 14.1 2024-09-11 11:26:41 +02:00
vmstate-static-checker-data
dbus-vmstate-daemon.sh
Makefile.include tests/functional: enable pre-emptive caching of assets 2024-09-04 10:52:29 +02:00
meson.build tests/functional: Prepare the meson build system for the functional tests 2024-09-04 10:52:29 +02:00
test-qht-par.c
vhost-user-bridge.c error handling: Use RETRY_ON_EINTR() macro where applicable 2023-01-09 13:50:47 +01:00