]> www.infradead.org Git - users/dwmw2/qemu.git/commit
tests/qtest: remove clock_steps from virtio tests
authorAlex Bennée <alex.bennee@linaro.org>
Wed, 8 Jan 2025 12:10:38 +0000 (12:10 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Fri, 10 Jan 2025 11:18:32 +0000 (11:18 +0000)
commit92cb8f8bf67e89254b0e4167521675eb6cd84981
treeb78c40c8ca0baef612de9f37d4fde8d9f28c1731
parent0d77c908f29fad72d1417178b4cc5704d481a791
tests/qtest: remove clock_steps from virtio tests

In the qtest environment time will not step forward if the system is
paused (timers disabled) or we have no timer events to fire. As a
result VirtIO events are responded to directly and we don't need to
step time forward.

We still do timeout processing to handle the fact the target QEMU may
not be ready to respond right away. This will usually be due to a slow
CI system or if QEMU is running under something like rr.

Future qtest patches will assert that time actually changes when a
step is requested.

Reviewed-by: Fabiano Rosas <farosas@suse.de>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20250108121054.1126164-17-alex.bennee@linaro.org>
tests/qtest/libqos/virtio.c