|
From: | Paolo Bonzini |
Subject: | Re: [PATCH] virtio: disable ioeventfd for record/replay |
Date: | Thu, 11 Feb 2021 12:40:54 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |