qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v2 2/9] replay: notify vCPU when BH is scheduled


From: Richard Henderson
Subject: Re: [PATCH v2 2/9] replay: notify vCPU when BH is scheduled
Date: Wed, 4 May 2022 10:38:15 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0

On 5/4/22 02:39, Pavel Dovgalyuk wrote:
vCPU execution should be suspended when new BH is scheduled.
This is needed to avoid guest timeouts caused by the long cycles
of the execution. In replay mode execution may hang when
vCPU sleeps and block event comes to the queue.
This patch adds notification which wakes up vCPU or interrupts
execution of guest code.

Signed-off-by: Pavel Dovgalyuk<Pavel.Dovgalyuk@ispras.ru>

--

v2: changed first_cpu to current_cpu (suggested by Richard Henderson)
---
  include/sysemu/cpu-timers.h |    1 +
  softmmu/icount.c            |    8 ++++++++
  stubs/icount.c              |    4 ++++
  util/async.c                |    8 ++++++++
  4 files changed, 21 insertions(+)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

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