Re: [Qemu-devel] [PATCH v6 18/18] intel_iommu: enable vfio devices

2017-02-06 Thread Jason Wang
On 2017年02月03日 16:22, Peter Xu wrote: This patch is based on Aviv Ben-David ()'s patch upstream: "IOMMU: enable intel_iommu map and unmap notifiers" https://lists.gnu.org/archive/html/qemu-devel/2016-11/msg01453.html However I removed/fixed some content, and added my own codes. Instead

[Qemu-devel] [PATCH v6 18/18] intel_iommu: enable vfio devices

2017-02-03 Thread Peter Xu
This patch is based on Aviv Ben-David ()'s patch upstream: "IOMMU: enable intel_iommu map and unmap notifiers" https://lists.gnu.org/archive/html/qemu-devel/2016-11/msg01453.html However I removed/fixed some content, and added my own codes. Instead of translate() every page for iotlb invalid