Please sign in to comment.
virtio: correct the memory barrier in virtqueue_kick_prepare()
Use virtio_mb() to make sure the available index to be exposed before checking the the avail event. Otherwise we may get stale value of avail event in guest and never kick the host after. Note: this fixes a bug introduced by ee7cd89. Signed-off-by: Jason Wang <email@example.com> Acked-by: Michael S. Tsirkin <firstname.lastname@example.org> Signed-off-by: Rusty Russell <email@example.com> Cc: firstname.lastname@example.org
- Loading branch information...