Re: [PATCH 4/4] kvm/vfio: Support for DMA coherent IOMMUs

2014-02-18 Thread Paolo Bonzini
Il 17/02/2014 21:24, Alex Williamson ha scritto: VFIO now has support for using the IOMMU_CACHE flag and a mechanism for an external user to test the current operating mode of the IOMMU. Add support for this to the kvm-vfio pseudo device so that we only register noncoherent DMA when necessary. S

[PATCH 4/4] kvm/vfio: Support for DMA coherent IOMMUs

2014-02-17 Thread Alex Williamson
VFIO now has support for using the IOMMU_CACHE flag and a mechanism for an external user to test the current operating mode of the IOMMU. Add support for this to the kvm-vfio pseudo device so that we only register noncoherent DMA when necessary. Signed-off-by: Alex Williamson Cc: Gleb Natapov Cc