aboutsummaryrefslogtreecommitdiff
path: root/hw/timer/omap_gptimer.c
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2022-08-22 17:56:05 +0100
committerAlex Bennée <alex.bennee@linaro.org>2022-08-24 10:14:49 +0100
commitc398c7618737d7ff36ae49ba31dae1925683a605 (patch)
treea45da9837fe0a1e0316b292d933ad6c931cf51b3 /hw/timer/omap_gptimer.c
parente25636a12a1cc0a136aaa611a0cfbe6ebfa4aed4 (diff)
downloadqemu-c398c7618737d7ff36ae49ba31dae1925683a605.zip
qemu-c398c7618737d7ff36ae49ba31dae1925683a605.tar.gz
qemu-c398c7618737d7ff36ae49ba31dae1925683a605.tar.bz2
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>
Diffstat (limited to 'hw/timer/omap_gptimer.c')
0 files changed, 0 insertions, 0 deletions