qemu-rust
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 02/17] tests/qtest: don't attempt to clock_step while wait


From: Thomas Huth
Subject: Re: [PATCH v2 02/17] tests/qtest: don't attempt to clock_step while waiting for virtio ISR
Date: Fri, 7 Feb 2025 17:02:16 +0100
User-agent: Mozilla Thunderbird

On 07/02/2025 16.30, Alex Bennée wrote:
This replicates the changes from 92cb8f8bf6 (tests/qtest: remove
clock_steps from virtio tests) as there are no timers in the virtio
code. We still busy wait and timeout though.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

---
v2
   - fix trailing space
---
  tests/qtest/libqos/virtio-pci-modern.c | 6 ++----
  tests/qtest/libqos/virtio-pci.c        | 6 ++----
  2 files changed, 4 insertions(+), 8 deletions(-)

I wonder whether a usleep(10000) in the loop might help to avoid burning too much CPU time in there?

Anyway,
Reviewed-by: Thomas Huth <thuth@redhat.com>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]