You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/tests/qtest/migration
Jaehoon Kim 430671f526 tests/migration: Setup pre-listened cpr.sock to remove race-condition.
When the source VM attempts to connect to the destination VM's Unix
domain socket (cpr.sock) during a cpr-transfer test, race conditions can
occur if the socket file isn't ready. This can lead to connection
failures when running tests.

This patch creates and listens on the socket in advance, and passes the
pre-listened FD directly. This avoids timing issues and improves the
reliability of CPR tests.

Reviewed-by: Jason J. Herne <jjherne@linux.ibm.com>
Signed-off-by: Jaehoon Kim <jhkim@linux.ibm.com>
Reviewed-by: Steve Sistare <steven.sistare@oracle.com>
Link: https://lore.kernel.org/r/20250611205610.147008-2-jhkim@linux.ibm.com
[peterx: null-initialize opts_target, per Steve]
Signed-off-by: Peter Xu <peterx@redhat.com>
5 days ago
..
aarch64
i386
ppc64
s390x
Makefile
bootfile.c tests/qtest/migration: Move common test code 7 months ago
bootfile.h tests/qtest/migration: Move common test code 7 months ago
compression-tests.c tests/qtest/migration: add postcopy tests with multifd 1 month ago
cpr-tests.c tests/migration: Setup pre-listened cpr.sock to remove race-condition. 5 days ago
file-tests.c tests/qtest/migration: consolidate set capabilities 2 months ago
framework.c qtest: introduce qtest_init_ext 2 months ago
framework.h tests/qtest/migration: consolidate set capabilities 2 months ago
migration-qmp.c qapi: Move include/qapi/qmp/ to include/qobject/ 5 months ago
migration-qmp.h tests/qtest: enhance migration channels 5 months ago
migration-util.c tests/qtest/migration: Introduce migration_test_add_suffix 4 months ago
migration-util.h tests/qtest/migration: Introduce migration_test_add_suffix 4 months ago
misc-tests.c tests/qtest/migration: consolidate set capabilities 2 months ago
postcopy-tests.c tests/qtest/migration: add postcopy tests with multifd 1 month ago
precopy-tests.c tests/qtest/migration: add postcopy tests with multifd 1 month ago
tls-tests.c tests/qtest/migration: add postcopy tests with multifd 1 month ago