Skip to content
Commit a311650a authored by Michael S. Tsirkin's avatar Michael S. Tsirkin
Browse files

virtio/ringtest: virtio_ring: fix up need_event math



last kicked event index must be updated unconditionally:
even if we don't need to kick, we do not want to re-check
the same entry for events.

Reported-by: default avatarCornelia Huck <cohuck@redhat.com>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Reviewed-by: default avatarJens Freimann <jfreimann@redhat.com>
parent f229a55c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment