diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2025-02-07 15:31:02 +0000 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2025-02-10 13:47:58 +0000 |
commit | a08eac97615e20facfadc0c27ef116c12b2163b2 (patch) | |
tree | 5986516b6a6a7359bc91c0ed8e3c7da77d8ac5a1 /tests/qtest/migration/compression-tests.c | |
parent | 14fa0e6b2065bf693e4bdfc3fa0a84e1b8b5ffe1 (diff) | |
download | qemu-a08eac97615e20facfadc0c27ef116c12b2163b2.zip qemu-a08eac97615e20facfadc0c27ef116c12b2163b2.tar.gz qemu-a08eac97615e20facfadc0c27ef116c12b2163b2.tar.bz2 |
Revert "util/timer: avoid deadlock when shutting down"
This reverts commit bc02be4508d8753d1f6071b77d10f4661587df6f.
Now we catch attempts to clock_step to the next timer when none are
enabled we can revert the previous attempt to prevent deadlock. As
long as a new target time is given we will move time forward even if
no timers will fire. This is desirable for tests which are checking
that nothing changes when things are disabled.
Previously most tests got away with it because --enable-slirp always
has a timer running while the test is active.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20250207153112.3939799-8-alex.bennee@linaro.org>
Diffstat (limited to 'tests/qtest/migration/compression-tests.c')
0 files changed, 0 insertions, 0 deletions