In the thread: https://lists.gnu.org/archive/html/qemu-devel/2016-09/msg00254.html
Alex proposed a way for vhost DMAR to be enabled without breaking existing protections on vIOMMU and device assignments. This series tried to implement the idea, by introducing a IOMMU notifier type for each IOMMU memory region. Thanks, Peter Xu (3): memory: add one flag for IOMMU notifier memory: add iommu_notify_flag intel_iommu: allow IOMMU_NONE typed notifiers hw/i386/intel_iommu.c | 13 ++++++++----- hw/ppc/spapr_iommu.c | 5 +++-- hw/s390x/s390-pci-inst.c | 2 +- hw/vfio/common.c | 3 ++- include/exec/memory.h | 14 +++++++++++--- memory.c | 12 +++++++++--- 6 files changed, 34 insertions(+), 15 deletions(-) -- 2.7.4