All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Dovgalyuk <pavel.dovgalyuk@ispras.ru>
To: Paolo Bonzini <pbonzini@redhat.com>, Cornelia Huck <cohuck@redhat.com>
Cc: alex.bennee@linaro.org, qemu-devel@nongnu.org, mst@redhat.com
Subject: Re: [PATCH] virtio: disable ioeventfd for record/replay
Date: Wed, 24 Feb 2021 12:56:13 +0300	[thread overview]
Message-ID: <b59c3b42-b22b-8056-35e5-d7e37c215314@ispras.ru> (raw)
In-Reply-To: <fb2d2816-a696-a407-2f92-ec5950db9c4d@redhat.com>

On 11.02.2021 12:05, Paolo Bonzini wrote:
> On 11/02/21 09:56, Pavel Dovgalyuk wrote:
>>
>> That's right.
>> It seems, that ioeventfd is used in virtio-ccw, virtio-mmio, and 
>> virtio-pci. The second one is related to KVM only, right?
> 
> No, it's used for TCG as well (with ARM "-M virt" or x86 "-M microvm").

Thanks for pointing at these machines.
But virtio-mmio does not support ioeventfd disabling as in PCI and CCW 
devices.
Should this option be added first?
Or the following code means that ioeventfd is used only in KVM mode?

static bool virtio_mmio_ioeventfd_enabled(DeviceState *d)
{
     return kvm_eventfds_enabled();
}

Pavel Dovgalyuk


  reply	other threads:[~2021-02-24 10:04 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 [this message]
2021-02-24 10:21         ` Paolo Bonzini
2021-02-11  8:58 ` Alex Bennée
2021-02-11 11:40   ` Paolo Bonzini
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=b59c3b42-b22b-8056-35e5-d7e37c215314@ispras.ru \
    --to=pavel.dovgalyuk@ispras.ru \
    --cc=alex.bennee@linaro.org \
    --cc=cohuck@redhat.com \
    --cc=mst@redhat.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.