vdpa: Use device_iommu_capable()
authorRobin Murphy <robin.murphy@arm.com>
Wed, 8 Jun 2022 11:48:26 +0000 (12:48 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 11 Aug 2022 08:06:38 +0000 (04:06 -0400)
commit366958a7fd7b541cba478e2866ef08f34e20471b
tree6a0a8c41fc42d8528f16c4f9efa12c32aada5b6e
parentebe797f25f68f28581f46a9cb9c1997ac15c39a0
vdpa: Use device_iommu_capable()

Use the new interface to check the capability for our device
specifically.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Message-Id: <548e316fa282ce513fabb991a4c4d92258062eb5.1654688822.git.robin.murphy@arm.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
drivers/vhost/vdpa.c