vdpa: introduce get_vq_dma_device()
authorJason Wang <jasowang@redhat.com>
Thu, 19 Jan 2023 06:15:22 +0000 (14:15 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 21 Feb 2023 00:26:58 +0000 (19:26 -0500)
commit25da258fa61b1a902c781406a4e24a8284fc3d8a
treebd8c947ff585839d6bf95bc6124391abb9ac7ba5
parent2713ea3c7d930aa1ff5ef7d4a57a1e4fcc3b9985
vdpa: introduce get_vq_dma_device()

This patch introduces a new method to query the dma device that is use
for a specific virtqueue.

Reviewed-by: Eli Cohen <elic@nvidia.com>
Tested-by: Eli Cohen <elic@nvidia.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20230119061525.75068-3-jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
include/linux/vdpa.h