|
@@ -313,7 +313,7 @@ static int vhost_dev_has_iommu(struct vhost_dev *dev)
|
|
* For vhost, VIRTIO_F_IOMMU_PLATFORM means the backend support
|
|
* For vhost, VIRTIO_F_IOMMU_PLATFORM means the backend support
|
|
* incremental memory mapping API via IOTLB API. For platform that
|
|
* incremental memory mapping API via IOTLB API. For platform that
|
|
* does not have IOMMU, there's no need to enable this feature
|
|
* does not have IOMMU, there's no need to enable this feature
|
|
- * which may cause unnecessary IOTLB miss/update trnasactions.
|
|
|
|
|
|
+ * which may cause unnecessary IOTLB miss/update transactions.
|
|
*/
|
|
*/
|
|
return virtio_bus_device_iommu_enabled(vdev) &&
|
|
return virtio_bus_device_iommu_enabled(vdev) &&
|
|
virtio_host_has_feature(vdev, VIRTIO_F_IOMMU_PLATFORM);
|
|
virtio_host_has_feature(vdev, VIRTIO_F_IOMMU_PLATFORM);
|