diff options
Diffstat (limited to 'include/linux/kvm_host.h')
-rw-r--r-- | include/linux/kvm_host.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index 93bd30701ca7..20941c0f4045 100644 --- a/include/linux/kvm_host.h +++ b/include/linux/kvm_host.h | |||
@@ -266,6 +266,8 @@ void kvm_arch_commit_memory_region(struct kvm *kvm, | |||
266 | void kvm_disable_largepages(void); | 266 | void kvm_disable_largepages(void); |
267 | void kvm_arch_flush_shadow(struct kvm *kvm); | 267 | void kvm_arch_flush_shadow(struct kvm *kvm); |
268 | gfn_t unalias_gfn(struct kvm *kvm, gfn_t gfn); | 268 | gfn_t unalias_gfn(struct kvm *kvm, gfn_t gfn); |
269 | gfn_t unalias_gfn_instantiation(struct kvm *kvm, gfn_t gfn); | ||
270 | |||
269 | struct page *gfn_to_page(struct kvm *kvm, gfn_t gfn); | 271 | struct page *gfn_to_page(struct kvm *kvm, gfn_t gfn); |
270 | unsigned long gfn_to_hva(struct kvm *kvm, gfn_t gfn); | 272 | unsigned long gfn_to_hva(struct kvm *kvm, gfn_t gfn); |
271 | void kvm_release_page_clean(struct page *page); | 273 | void kvm_release_page_clean(struct page *page); |
@@ -539,6 +541,10 @@ static inline int mmu_notifier_retry(struct kvm_vcpu *vcpu, unsigned long mmu_se | |||
539 | } | 541 | } |
540 | #endif | 542 | #endif |
541 | 543 | ||
544 | #ifndef KVM_ARCH_HAS_UNALIAS_INSTANTIATION | ||
545 | #define unalias_gfn_instantiation unalias_gfn | ||
546 | #endif | ||
547 | |||
542 | #ifdef CONFIG_HAVE_KVM_IRQCHIP | 548 | #ifdef CONFIG_HAVE_KVM_IRQCHIP |
543 | 549 | ||
544 | #define KVM_MAX_IRQ_ROUTES 1024 | 550 | #define KVM_MAX_IRQ_ROUTES 1024 |