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