qemu/tests/qtest/migration
Steve Sistare 360b5d773b migration-test: cpr-transfer
Add a migration test for cpr-transfer mode.  Defer the connection to the
target monitor, else the test hangs because in cpr-transfer mode QEMU does
not listen for monitor connections until we send the migrate command to
source QEMU.

To test -incoming defer, send a migrate incoming command to the target,
after sending the migrate command to the source, as required by
cpr-transfer mode.

Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Link: https://lore.kernel.org/r/1736967650-129648-24-git-send-email-steven.sistare@oracle.com
[only allocate in_channels when needed]
Signed-off-by: Fabiano Rosas <farosas@suse.de>
2025-01-29 11:56:39 -03:00
..
aarch64 tests/migration: Disambiguate guestperf vs. a-b 2024-12-12 10:25:39 -03:00
i386 tests/migration: Disambiguate guestperf vs. a-b 2024-12-12 10:25:39 -03:00
ppc64 tests/migration: Disambiguate guestperf vs. a-b 2024-12-12 10:25:39 -03:00
s390x tests/migration: Disambiguate guestperf vs. a-b 2024-12-12 10:25:39 -03:00
bootfile.c tests/qtest/migration: Move common test code 2024-12-12 10:25:40 -03:00
bootfile.h tests/qtest/migration: Move common test code 2024-12-12 10:25:40 -03:00
compression-tests.c tests/qtest/migration: Fix compile errors when CONFIG_UADK is set 2025-01-02 16:00:49 -03:00
cpr-tests.c migration-test: cpr-transfer 2025-01-29 11:56:39 -03:00
file-tests.c tests/qtest/migration: Split file tests 2024-12-12 10:25:41 -03:00
framework.c migration-test: cpr-transfer 2025-01-29 11:56:39 -03:00
framework.h migration-test: cpr-transfer 2025-01-29 11:56:39 -03:00
Makefile tests/migration: Disambiguate guestperf vs. a-b 2024-12-12 10:25:39 -03:00
migration-qmp.c tests/qtest: enhance migration channels 2025-01-29 11:56:39 -03:00
migration-qmp.h tests/qtest: enhance migration channels 2025-01-29 11:56:39 -03:00
migration-util.c tests/qtest: optimize migrate_set_ports 2025-01-29 11:56:39 -03:00
migration-util.h tests/qtest/migration: Move kvm_dirty_ring_supported to utils 2024-12-12 10:25:40 -03:00
misc-tests.c tests/qtest: enhance migration channels 2025-01-29 11:56:39 -03:00
postcopy-tests.c tests/qtest/migration: Split postcopy tests 2024-12-12 10:25:41 -03:00
precopy-tests.c tests/qtest: enhance migration channels 2025-01-29 11:56:39 -03:00
tls-tests.c tests/qtest/migration: Split TLS tests from migration-test.c 2024-12-12 10:25:40 -03:00