virtio: disable ioeventfd for record/replay
commit3909c079454a49b113c60a5cd91d749f78ca1c7f
authorPavel Dovgalyuk <pavel.dovgalyuk@ispras.ru>
Mon, 17 May 2021 13:06:28 +0000 (17 16:06 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 2 Jul 2021 14:20:13 +0000 (2 10:20 -0400)
treea2296c33fb1fb171423125c89e9ac388993ca818
parent9c2647f75004c4f7d64c9c0ec55f8c6f0739a8b1
virtio: disable ioeventfd for record/replay

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 <Pavel.Dovgalyuk@ispras.ru>
Message-Id: <162125678869.1252810.4317416444097392406.stgit@pasha-ThinkPad-X280>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/s390x/virtio-ccw.c
hw/virtio/virtio-mmio.c
hw/virtio/virtio-pci.c