|
From: | Pavel Dovgalyuk |
Subject: | Re: [PATCH] virtio: disable ioeventfd for record/replay |
Date: | Wed, 24 Feb 2021 12:56:13 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |