On 3/2/23 10:48, David Marchand wrote:
For VDPA devices, vq are not locked once the device has been configured. But we need to hold the vq lock to check if vhost async is enabled. Combining VDPA and vhost async does not seem to make much sense, so prevent this combination, and only assert the lock is taken when VDPA is not configured on this vq. Bugzilla ID: 1169 Fixes: 4b02c2673757 ("vhost: annotate async accesses") Signed-off-by: David Marchand <david.march...@redhat.com> --- lib/vhost/vhost.c | 4 ++-- lib/vhost/vhost_user.c | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-)
Applied to dpdk-next-virtio/main. Thanks, Maxime