qemu/tests/migration
Thomas Huth c398c76187 tests/migration/aarch64: Speed up the aarch64 migration test
The migration tests spend a lot of time waiting for a sign of live
of the guest on the serial console. The aarch64 migration code only
outputs "B"s every couple of seconds (at least it takes more than 4
seconds between each characeter on my x86 laptop). There are a lot
of migration tests, and if each test that checks for a successful
migration waits for these characters before and after migration, the
wait time sums up to multiple minutes! Let's use a shorter delay to
speed things up.

While we're at it, also remove a superfluous masking with 0xff - we're
reading and storing bytes, so the upper bits of the register do not
matter anyway.

With these changes, the test runs twice as fast on my laptop, decreasing
the total run time from approx. 8 minutes to only 4 minutes!

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20220819053802.296584-3-thuth@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20220822165608.2980552-4-alex.bennee@linaro.org>
2022-08-24 10:14:49 +01:00
..
aarch64 tests/migration/aarch64: Speed up the aarch64 migration test 2022-08-24 10:14:49 +01:00
guestperf tests/migration: fix unix socket migration 2021-07-14 14:15:52 +01:00
i386 tests/migration: Support cross compilation in generating boot header file 2018-09-26 13:19:03 +01:00
s390x tests/migration: Enable the migration test on s390x, too 2018-10-11 19:58:21 +01:00
guestperf-batch.py tests/migration: Fix LGPL information in the file headers 2020-11-15 17:04:40 +01:00
guestperf-plot.py tests/migration: Fix LGPL information in the file headers 2020-11-15 17:04:40 +01:00
guestperf.py tests/migration: Fix LGPL information in the file headers 2020-11-15 17:04:40 +01:00
initrd-stress.sh meson: convert migration/initrd-stress 2020-09-08 11:43:16 +02:00
Makefile migration-test: Only generate a single target architecture 2018-10-11 19:58:26 +01:00
meson.build meson: convert migration/initrd-stress 2020-09-08 11:43:16 +02:00
migration-test.h Clean up a few header guard symbols 2019-06-12 13:20:20 +02:00
stress.c tests: Rename PAGE_SIZE definitions 2021-01-20 10:46:54 +01:00