kvm/vfio: Support for DMA coherent IOMMUs
authorAlex Williamson <alex.williamson@redhat.com>
Wed, 26 Feb 2014 18:38:40 +0000 (11:38 -0700)
committerAlex Williamson <alex.williamson@redhat.com>
Wed, 26 Feb 2014 18:38:40 +0000 (11:38 -0700)
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 <alex.williamson@redhat.com>
Cc: Gleb Natapov <gleb@kernel.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
virt/kvm/vfio.c

diff --cc virt/kvm/vfio.c
Simple merge