From: Paolo Bonzini <pbonzini@redhat.com>
To: "Alex Bennée" <alex.bennee@linaro.org>,
"Pavel Dovgalyuk" <pavel.dovgalyuk@ispras.ru>
Cc: qemu-devel@nongnu.org, mst@redhat.com
Subject: Re: [PATCH] virtio: disable ioeventfd for record/replay
Date: Thu, 11 Feb 2021 12:40:54 +0100 [thread overview]
Message-ID: <a4332285-fd36-7bba-a8b1-b5ba1c6432f4@redhat.com> (raw)
In-Reply-To: <875z2zugai.fsf@linaro.org>
On 11/02/21 09:58, Alex Bennée wrote:
>> virtio devices support separate iothreads waiting for
>> events from file descriptors. These are asynchronous
>> events that can't be recorded and replayed, therefore
>> this patch disables ioeventfd for all devices when
>> record or replay is enabled.
> Does it always have to be the case? Can a virtio device forgo iothreads
> and poll events from the main loop?
Yes and in fact it's the default, but ioeventfd has the same issue I
think even if the polling happens from the main thread.
Paolo
next prev parent reply other threads:[~2021-02-11 11:43 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-11 8:34 [PATCH] virtio: disable ioeventfd for record/replay Pavel Dovgalyuk
2021-02-11 8:44 ` Cornelia Huck
2021-02-11 8:56 ` Pavel Dovgalyuk
2021-02-11 9:05 ` Paolo Bonzini
2021-02-24 9:56 ` Pavel Dovgalyuk
2021-02-24 10:21 ` Paolo Bonzini
2021-02-11 8:58 ` Alex Bennée
2021-02-11 11:40 ` Paolo Bonzini [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-05-17 13:06 Pavel Dovgalyuk
2021-05-31 4:47 ` Pavel Dovgalyuk
2021-06-15 4:44 ` 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=a4332285-fd36-7bba-a8b1-b5ba1c6432f4@redhat.com \
--to=pbonzini@redhat.com \
--cc=alex.bennee@linaro.org \
--cc=mst@redhat.com \
--cc=pavel.dovgalyuk@ispras.ru \
--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).