xemu/tests
Stefan Berger d9280ea317 tests: Wait for migration completion on destination QEMU to avoid failures
Rather than waiting for the completion of migration on the source side,
wait for it on the destination QEMU side to avoid accessing the TPM TIS
memory mapped registers before QEMU could restore their state. This
error condition could be triggered on busy systems where the destination
QEMU did not have enough time to restore the TIS state while the test case
was already reading its registers. The test case was for example reading
the STS register and received an unexpected value (0xffffffff), which
lead to a segmentation fault later on due to trying to read 0xffff bytes
from the TIS into a buffer.

Cc:  <qemu-stable@nongnu.org>
Reported-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2024-10-18 07:58:04 -04:00
..
avocado hw/arm: Remove 'n800' and 'n810' machines 2024-10-01 14:29:47 +01: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: Add expected ACPI SRAT AML file for RISC-V 2024-10-02 15:11:51 +10:00
decode tests/: spelling fixes 2023-09-08 13:08:52 +03:00
docker tests: update lcitool to fix freebsd py311-yaml rename 2024-10-14 15:54:24 +01:00
fp tests/fp: Make mul and div tests have a longer timeout 2024-09-18 20:58:43 +01:00
functional tests/functional: Bump timeout of some tests 2024-10-07 13:21:41 +02:00
guest-debug tests/guest-debug: Support passing arguments to the GDB test script 2024-09-10 23:33:55 +01:00
image-fuzzer image-fuzzer: Use OSerror.strerror instead of tuple subscript 2019-11-05 16:36:11 +01:00
include tests: add missing generated sources to testqapi 2020-10-17 10:45:50 -04:00
keys tests/vm: Add Haiku test based on their vagrant images 2020-11-17 09:45:24 +01:00
lcitool tests: update lcitool to fix freebsd py311-yaml rename 2024-10-14 15:54:24 +01:00
migration tests/qtest/migration-test: Use custom asm bios for ppc64 2024-06-14 14:01:23 -03:00
multiboot Remove superfluous .gitignore files 2020-10-13 12:48:17 +02:00
perf/block/qcow2 tests/perf: Test lseek influence on qcow2 block-status 2019-06-04 15:20:41 +02:00
qapi-schema tests/qapi-schema: Drop temporary 'prefix' 2024-09-10 13:22:47 +02:00
qemu-iotests Remove the unused sh4eb target 2024-10-02 10:21:39 +02:00
qtest tests: Wait for migration completion on destination QEMU to avoid failures 2024-10-18 07:58:04 -04:00
rocker
tcg tests/tcg: Run test-proc-mappings.py on i386 2024-10-13 10:05:51 -07: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/test-char: implement a few mux remove test cases 2024-10-15 12:48:53 +04:00
vm tests: update lcitool to fix freebsd py311-yaml rename 2024-10-14 15:54:24 +01:00
vmstate-static-checker-data hw: Replace anti-social QOM type names 2021-03-19 15:18:43 +01:00
Makefile.include tests/functional: enable pre-emptive caching of assets 2024-09-04 10:52:29 +02:00
dbus-vmstate-daemon.sh tests: add dbus-vmstate-test 2020-01-06 18:41:32 +04: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