The comment is talking about the virtual IOMMU (i.e. iotlb in vhost).+A question here, consider we're using noiommu mode. If guest physical
+ /*
+ * In vhost-mdev, userspace should pass ring addresses
+ * in guest physical addresses when IOMMU is disabled or
+ * IOVAs when IOMMU is enabled.
+ */
address is passed here, how can a device use that?
I believe you meant "host physical address" here? And it also have the
implication that the HPA should be continuous (e.g using hugetlbfs).
It should be rephrased to cover the noiommu case as well. Thanks for
spotting this.