mirror of https://gitlab.com/qemu-project/qemu
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.
![]() The qmp_migrate_cancel() command is poorly tested and code inspection reveals that there might be concurrency issues with its usage. Add a test that runs a migration and calls qmp_migrate_cancel() at specific moments. In order to make the test more deterministic, instead of calling qmp_migrate_cancel() at random moments during migration, do it after the migration status change events are seen. The expected result is that qmp_migrate_cancel() on the source ends migration on the source with the "cancelled" state and ends migration on the destination with the "failed" state. The only exception is that a failed migration should continue in the failed state. Cancelling is not allowed during postcopy (no test is added for this because it's a trivial check in the code). Reviewed-by: Peter Xu <peterx@redhat.com> Message-ID: <20250213175927.19642-9-farosas@suse.de> Signed-off-by: Fabiano Rosas <farosas@suse.de> |
1 week ago | |
---|---|---|
.. | ||
aarch64 | ||
i386 | ||
ppc64 | ||
s390x | ||
Makefile | ||
bootfile.c | 2 months ago | |
bootfile.h | 2 months ago | |
compression-tests.c | 2 weeks ago | |
cpr-tests.c | 2 weeks ago | |
file-tests.c | 2 weeks ago | |
framework.c | 2 weeks ago | |
framework.h | 2 weeks ago | |
migration-qmp.c | 2 weeks ago | |
migration-qmp.h | 3 weeks ago | |
migration-util.c | 1 week ago | |
migration-util.h | 1 week ago | |
misc-tests.c | 2 weeks ago | |
postcopy-tests.c | 2 weeks ago | |
precopy-tests.c | 1 week ago | |
tls-tests.c | 2 weeks ago |