qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Richard Henderson <richard.henderson@linaro.org>
To: Pavel Dovgalyuk <pavel.dovgalyuk@ispras.ru>, qemu-devel@nongnu.org
Cc: pbonzini@redhat.com, alex.bennee@linaro.org, crosa@redhat.com,
	f4bug@amsat.org
Subject: Re: [PATCH v2 2/9] replay: notify vCPU when BH is scheduled
Date: Wed, 4 May 2022 10:38:15 -0500	[thread overview]
Message-ID: <cbdbd90f-de6a-fc7f-0245-f3aac936a9b2@linaro.org> (raw)
In-Reply-To: <165165714007.1062896.13693480594668205608.stgit@pasha-ThinkPad-X280>

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	other threads:[~2022-05-04 16:48 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-04  9:38 [PATCH v2 0/9] Record/replay refactoring and stuff Pavel Dovgalyuk
2022-05-04  9:38 ` [PATCH v2 1/9] replay: fix event queue flush for qemu shutdown Pavel Dovgalyuk
2022-05-04  9:39 ` [PATCH v2 2/9] replay: notify vCPU when BH is scheduled Pavel Dovgalyuk
2022-05-04 15:38   ` Richard Henderson [this message]
2022-05-04  9:39 ` [PATCH v2 3/9] replay: rewrite async event handling Pavel Dovgalyuk
2022-05-04  9:39 ` [PATCH v2 4/9] replay: simplify async event processing Pavel Dovgalyuk
2022-05-04 15:39   ` Richard Henderson
2022-05-04  9:39 ` [PATCH v2 5/9] docs: convert docs/devel/replay page to rst Pavel Dovgalyuk
2022-05-04  9:39 ` [PATCH v2 6/9] docs: move replay docs to docs/system/replay.rst Pavel Dovgalyuk
2022-05-04  9:39 ` [PATCH v2 7/9] tests/avocado: update replay_linux test Pavel Dovgalyuk
2022-05-04  9:39 ` [PATCH v2 8/9] tests/avocado: add replay Linux tests for virtio machine Pavel Dovgalyuk
2022-05-04  9:39 ` [PATCH v2 9/9] tests/avocado: add replay Linux test for Aarch64 machines Pavel Dovgalyuk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cbdbd90f-de6a-fc7f-0245-f3aac936a9b2@linaro.org \
    --to=richard.henderson@linaro.org \
    --cc=alex.bennee@linaro.org \
    --cc=crosa@redhat.com \
    --cc=f4bug@amsat.org \
    --cc=pavel.dovgalyuk@ispras.ru \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).