aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/kvm_host.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2010-06-21 04:44:20 -0400
committerAvi Kivity <avi@redhat.com>2010-08-01 03:47:00 -0400
commita1f4d39500ad8ed61825eff061debff42386ab5b (patch)
tree58b72188b1356329e78951773f4be41e66b11d21 /include/linux/kvm_host.h
parentfc34531db3cf8c422f2ff7cf4ef507a3ca672cd2 (diff)
KVM: Remove memory alias support
As advertised in feature-removal-schedule.txt. Equivalent support is provided by overlapping memory regions. Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'include/linux/kvm_host.h')
-rw-r--r--include/linux/kvm_host.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h
index 2d96555cd4ed..240e460777bc 100644
--- a/include/linux/kvm_host.h
+++ b/include/linux/kvm_host.h
@@ -286,8 +286,6 @@ void kvm_arch_commit_memory_region(struct kvm *kvm,
286 int user_alloc); 286 int user_alloc);
287void kvm_disable_largepages(void); 287void kvm_disable_largepages(void);
288void kvm_arch_flush_shadow(struct kvm *kvm); 288void kvm_arch_flush_shadow(struct kvm *kvm);
289gfn_t unalias_gfn(struct kvm *kvm, gfn_t gfn);
290gfn_t unalias_gfn_instantiation(struct kvm *kvm, gfn_t gfn);
291 289
292struct page *gfn_to_page(struct kvm *kvm, gfn_t gfn); 290struct page *gfn_to_page(struct kvm *kvm, gfn_t gfn);
293unsigned long gfn_to_hva(struct kvm *kvm, gfn_t gfn); 291unsigned long gfn_to_hva(struct kvm *kvm, gfn_t gfn);
@@ -564,10 +562,6 @@ static inline int mmu_notifier_retry(struct kvm_vcpu *vcpu, unsigned long mmu_se
564} 562}
565#endif 563#endif
566 564
567#ifndef KVM_ARCH_HAS_UNALIAS_INSTANTIATION
568#define unalias_gfn_instantiation unalias_gfn
569#endif
570
571#ifdef CONFIG_HAVE_KVM_IRQCHIP 565#ifdef CONFIG_HAVE_KVM_IRQCHIP
572 566
573#define KVM_MAX_IRQ_ROUTES 1024 567#define KVM_MAX_IRQ_ROUTES 1024