• M
    vhost: rcu annotation fixup · 5e18247b
    Michael S. Tsirkin 提交于
    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: NMichael S. Tsirkin <mst@redhat.com>
    5e18247b
vhost.h 5.4 KB