Re: [PATCH] virtio: disable ioeventfd for record/replay

2021-06-14 Thread Pavel Dovgalyuk
ping On 17.05.2021 16:06, Pavel Dovgalyuk 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. Signe

Re: [PATCH] virtio: disable ioeventfd for record/replay

2021-05-30 Thread Pavel Dovgalyuk
ping On 17.05.2021 16:06, Pavel Dovgalyuk 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. Signe

[PATCH] virtio: disable ioeventfd for record/replay

2021-05-17 Thread Pavel Dovgalyuk
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. Signed-off-by: Pavel Dovgalyuk --- hw/s390x/virtio-ccw.

Re: [PATCH] virtio: disable ioeventfd for record/replay

2021-02-24 Thread Paolo Bonzini
On 24/02/21 10:56, Pavel Dovgalyuk wrote: 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? Yes, that was a good idea. Paolo

Re: [PATCH] virtio: disable ioeventfd for record/replay

2021-02-24 Thread Pavel Dovgalyuk
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").

Re: [PATCH] virtio: disable ioeventfd for record/replay

2021-02-11 Thread Paolo Bonzini
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 ha

Re: [PATCH] virtio: disable ioeventfd for record/replay

2021-02-11 Thread Paolo Bonzini
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"). Paolo And the first one should be updat

Re: [PATCH] virtio: disable ioeventfd for record/replay

2021-02-11 Thread Alex Bennée
Pavel Dovgalyuk writes: > 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

Re: [PATCH] virtio: disable ioeventfd for record/replay

2021-02-11 Thread Pavel Dovgalyuk
On 11.02.2021 11:44, Cornelia Huck wrote: On Thu, 11 Feb 2021 11:34:53 +0300 Pavel Dovgalyuk 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

Re: [PATCH] virtio: disable ioeventfd for record/replay

2021-02-11 Thread Cornelia Huck
On Thu, 11 Feb 2021 11:34:53 +0300 Pavel Dovgalyuk 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

[PATCH] virtio: disable ioeventfd for record/replay

2021-02-11 Thread Pavel Dovgalyuk
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. Signed-off-by: Pavel Dovgalyuk --- hw/virtio/virtio-pci