Re: [Qemu-devel] [PATCH] vhost: do not verify ring mappings when IOMMU is enabled

2018-04-16 Thread Igor Mammedov
On Fri, 13 Apr 2018 11:01:49 +0800 Jason Wang wrote: > When IOMMU is enabled, we store virtqueue metadata as iova (though it > may has _phys suffix) and access them through dma helpers. Any > translation failures could be reported by IOMMU. > > In this case, trying to validate iova against gpa w

[Qemu-devel] [PATCH] vhost: do not verify ring mappings when IOMMU is enabled

2018-04-12 Thread Jason Wang
When IOMMU is enabled, we store virtqueue metadata as iova (though it may has _phys suffix) and access them through dma helpers. Any translation failures could be reported by IOMMU. In this case, trying to validate iova against gpa won't work and will cause a false error reporting. So this patch b