diff options
author | Avi Kivity <avi@redhat.com> | 2010-06-21 04:44:20 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-08-01 03:47:00 -0400 |
commit | a1f4d39500ad8ed61825eff061debff42386ab5b (patch) | |
tree | 58b72188b1356329e78951773f4be41e66b11d21 /include/linux/kvm_host.h | |
parent | fc34531db3cf8c422f2ff7cf4ef507a3ca672cd2 (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.h | 6 |
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); |
287 | void kvm_disable_largepages(void); | 287 | void kvm_disable_largepages(void); |
288 | void kvm_arch_flush_shadow(struct kvm *kvm); | 288 | void kvm_arch_flush_shadow(struct kvm *kvm); |
289 | gfn_t unalias_gfn(struct kvm *kvm, gfn_t gfn); | ||
290 | gfn_t unalias_gfn_instantiation(struct kvm *kvm, gfn_t gfn); | ||
291 | 289 | ||
292 | struct page *gfn_to_page(struct kvm *kvm, gfn_t gfn); | 290 | struct page *gfn_to_page(struct kvm *kvm, gfn_t gfn); |
293 | unsigned long gfn_to_hva(struct kvm *kvm, gfn_t gfn); | 291 | unsigned 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 |