On 29/8/25 17:31, Paolo Bonzini wrote:
There is no reason for some accelerators to use qemu_wait_io_event_common
(which is separated from qemu_wait_io_event() specifically for round
robin).  They can also check for events directly on the first pass through
the loop, instead of setting cpu->exit_request to true.

Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>
---
  accel/dummy-cpus.c                |  2 +-
  accel/hvf/hvf-accel-ops.c         |  2 +-
  accel/kvm/kvm-accel-ops.c         |  3 ++-
  accel/tcg/tcg-accel-ops-mttcg.c   |  7 ++---
  accel/tcg/tcg-accel-ops-rr.c      | 43 ++++++++++++++-----------------
  target/i386/nvmm/nvmm-accel-ops.c |  6 ++---
  target/i386/whpx/whpx-accel-ops.c |  6 ++---
  7 files changed, 30 insertions(+), 39 deletions(-)

Nice.

Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>


Reply via email to