Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
iommu.c File Reference
#include <linux/list.h>
#include <linux/kvm_host.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/stat.h>
#include <linux/dmar.h>
#include <linux/iommu.h>
#include <linux/intel-iommu.h>

Go to the source code of this file.

Functions

 module_param_named (allow_unsafe_assigned_interrupts, allow_unsafe_assigned_interrupts, bool, S_IRUGO|S_IWUSR)
 
 MODULE_PARM_DESC (allow_unsafe_assigned_interrupts,"Enable device assignment on platforms without interrupt remapping support.")
 
int kvm_iommu_map_pages (struct kvm *kvm, struct kvm_memory_slot *slot)
 
int kvm_assign_device (struct kvm *kvm, struct kvm_assigned_dev_kernel *assigned_dev)
 
int kvm_deassign_device (struct kvm *kvm, struct kvm_assigned_dev_kernel *assigned_dev)
 
int kvm_iommu_map_guest (struct kvm *kvm)
 
void kvm_iommu_unmap_pages (struct kvm *kvm, struct kvm_memory_slot *slot)
 
int kvm_iommu_unmap_guest (struct kvm *kvm)
 

Function Documentation

int kvm_assign_device ( struct kvm kvm,
struct kvm_assigned_dev_kernel assigned_dev 
)

Definition at line 154 of file iommu.c.

int kvm_deassign_device ( struct kvm kvm,
struct kvm_assigned_dev_kernel assigned_dev 
)

Definition at line 207 of file iommu.c.

int kvm_iommu_map_guest ( struct kvm kvm)

Definition at line 234 of file iommu.c.

int kvm_iommu_map_pages ( struct kvm kvm,
struct kvm_memory_slot slot 
)

Definition at line 64 of file iommu.c.

int kvm_iommu_unmap_guest ( struct kvm kvm)

Definition at line 344 of file iommu.c.

void kvm_iommu_unmap_pages ( struct kvm kvm,
struct kvm_memory_slot slot 
)

Definition at line 322 of file iommu.c.

module_param_named ( allow_unsafe_assigned_interrupts  ,
allow_unsafe_assigned_interrupts  ,
bool  ,
S_IRUGO S_IWUSR 
)
MODULE_PARM_DESC ( allow_unsafe_assigned_interrupts  ,
"Enable device assignment on platforms without interrupt remapping support."   
)