This is just the ioventfd assignment fix, factored out into the individual transports. This (+ the assertion patch) has been surviving some minutes of doing a reboot loop so far.
While this is a bit larger than the aio handler changes, I think it is easier to understand. Cornelia Huck (1): virtio: fix ioeventfd assignment race hw/s390x/virtio-ccw.c | 22 +++++++++++++++++----- hw/virtio/virtio-mmio.c | 27 +++++++++++++++++---------- hw/virtio/virtio-pci.c | 28 ++++++++++++++++++---------- include/hw/virtio/virtio-bus.h | 4 ++++ 4 files changed, 56 insertions(+), 25 deletions(-) -- 2.8.0