Thomas suggested I should split this out of the powerpc series because it is applicable to other archs as well and it's easier for others to review like this. Since the v5 series: - Split out from powerpc changes - Fixed another small race found when running migration tests on aarch64 (wait for destination machine to have qmp socket set up before issuing qmp commands to it). - Added a directory for common tests, added the migration selftest to it, build it on arm and s390x as well. - Add "quiet" migration support, use it in migration selftest. - Cut down runtime for migration selftest so it is suitable for unit tests. Add it to unit tests. - Fix a s390x make clean omission that bit me when testing it. This does not depend on the other patches. Thanks, Nick Nicholas Piggin (9): s390x: clean lib/auxinfo.o arch-run: Clean up temporary files properly arch-run: Clean up initrd cleanup migration: use a more robust way to wait for background job migration: Support multiple migrations arch-run: rename migration variables migration: Add quiet migration support Add common/ directory for architecture-independent tests migration: add a migration selftest arm/Makefile.common | 1 + arm/sieve.c | 2 +- arm/unittests.cfg | 6 ++ common/selftest-migration.c | 34 +++++++ common/sieve.c | 51 ++++++++++ lib/migrate.c | 20 +++- lib/migrate.h | 2 + powerpc/Makefile.common | 1 + powerpc/unittests.cfg | 4 + s390x/Makefile | 3 +- s390x/sieve.c | 2 +- s390x/unittests.cfg | 4 + scripts/arch-run.bash | 181 ++++++++++++++++++++++++++---------- x86/sieve.c | 52 +---------- 14 files changed, 258 insertions(+), 105 deletions(-) create mode 100644 common/selftest-migration.c create mode 100644 common/sieve.c mode change 100644 => 120000 x86/sieve.c -- 2.42.0