]> Git Repo - linux.git/commit - arch/x86/include/asm/kvm_host.h
kvm: Create non-coherent DMA registeration
authorAlex Williamson <[email protected]>
Wed, 30 Oct 2013 17:02:30 +0000 (11:02 -0600)
committerPaolo Bonzini <[email protected]>
Wed, 30 Oct 2013 18:02:23 +0000 (19:02 +0100)
commite0f0bbc527f6e9c0261f1d16b2a0b47612b7f235
tree623b954e7571767c4d5f0581ad8ba6eacd48785d
parentd96eb2c6f480769bff32054e78b964860dae4d56
kvm: Create non-coherent DMA registeration

We currently use some ad-hoc arch variables tied to legacy KVM device
assignment to manage emulation of instructions that depend on whether
non-coherent DMA is present.  Create an interface for this, adapting
legacy KVM device assignment and adding VFIO via the KVM-VFIO device.
For now we assume that non-coherent DMA is possible any time we have a
VFIO group.  Eventually an interface can be developed as part of the
VFIO external user interface to query the coherency of a group.

Signed-off-by: Alex Williamson <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/vmx.c
arch/x86/kvm/x86.c
include/linux/kvm_host.h
virt/kvm/iommu.c
virt/kvm/vfio.c
This page took 0.080367 seconds and 4 git commands to generate.