virtio-vdpa: support per vq dma device
authorJason Wang <jasowang@redhat.com>
Thu, 19 Jan 2023 06:15:23 +0000 (14:15 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 21 Feb 2023 00:26:58 +0000 (19:26 -0500)
commita1baedb11ed4008035cf72777a6cb572fc26184f
tree6788876b28ba33805a14f11c681cf8c23e65b5d1
parent25da258fa61b1a902c781406a4e24a8284fc3d8a
virtio-vdpa: support per vq dma device

This patch adds the support of per vq dma device for virito-vDPA. vDPA
parents then are allowed to use different DMA devices. This is useful
for the parents that have software or emulated virtqueues.

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-4-jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/virtio/virtio_vdpa.c