You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For vDPA devices, vq are not locked once the device has been configured
at runtime.
On the other hand, we need to hold the vq lock to evaluate vq->access_ok,
invalidate vring addresses and translate them.
Move vring address update earlier and, when vDPA is configured, skip parts
which expect lock to be taken.
Bugzilla ID: 1394
Fixes: 741dc05 ("vhost: annotate virtqueue access checks")
Signed-off-by: David Marchand <[email protected]>
Reviewed-by: Maxime Coquelin <[email protected]>
0 commit comments