aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/kvm_host.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/kvm_host.h')
-rw-r--r--include/linux/kvm_host.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h
index 72d56844f388..bdce8e1303c9 100644
--- a/include/linux/kvm_host.h
+++ b/include/linux/kvm_host.h
@@ -367,6 +367,9 @@ void kvm_unregister_irq_ack_notifier(struct kvm_irq_ack_notifier *kian);
367int kvm_request_irq_source_id(struct kvm *kvm); 367int kvm_request_irq_source_id(struct kvm *kvm);
368void kvm_free_irq_source_id(struct kvm *kvm, int irq_source_id); 368void kvm_free_irq_source_id(struct kvm *kvm, int irq_source_id);
369 369
370/* For vcpu->arch.iommu_flags */
371#define KVM_IOMMU_CACHE_COHERENCY 0x1
372
370#ifdef CONFIG_IOMMU_API 373#ifdef CONFIG_IOMMU_API
371int kvm_iommu_map_pages(struct kvm *kvm, gfn_t base_gfn, 374int kvm_iommu_map_pages(struct kvm *kvm, gfn_t base_gfn,
372 unsigned long npages); 375 unsigned long npages);