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

vhost: rcu annotation fixup



When built with rcu checks enabled, vhost triggers
bogus warnings as vhost features are read without
dev->mutex sometimes, and private pointer is read
with our kind of rcu where work serves as a
read side critical section.

Fixing it properly is not trivial.
Disable the warnings by stubbing out the checks for now.

Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent fca540ab
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