summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/x86.h
diff options
context:
space:
mode:
authorAvi Kivity2010-06-21 10:44:20 +0200
committerAvi Kivity2010-08-01 09:47:00 +0200
commita1f4d39500ad8ed61825eff061debff42386ab5b (patch)
tree58b72188b1356329e78951773f4be41e66b11d21 /arch/x86/kvm/x86.h
parentKVM: s390: Don't exit SIE on SIGP sense running (diff)
downloadkernel-qcow2-linux-a1f4d39500ad8ed61825eff061debff42386ab5b.tar.gz
kernel-qcow2-linux-a1f4d39500ad8ed61825eff061debff42386ab5b.tar.xz
kernel-qcow2-linux-a1f4d39500ad8ed61825eff061debff42386ab5b.zip
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 'arch/x86/kvm/x86.h')
-rw-r--r--arch/x86/kvm/x86.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/x86/kvm/x86.h b/arch/x86/kvm/x86.h
index f4b54458285b..b7a404722d2b 100644
--- a/arch/x86/kvm/x86.h
+++ b/arch/x86/kvm/x86.h
@@ -65,13 +65,6 @@ static inline int is_paging(struct kvm_vcpu *vcpu)
return kvm_read_cr0_bits(vcpu, X86_CR0_PG);
}
-static inline struct kvm_mem_aliases *kvm_aliases(struct kvm *kvm)
-{
- return rcu_dereference_check(kvm->arch.aliases,
- srcu_read_lock_held(&kvm->srcu)
- || lockdep_is_held(&kvm->slots_lock));
-}
-
void kvm_before_handle_nmi(struct kvm_vcpu *vcpu);
void kvm_after_handle_nmi(struct kvm_vcpu *vcpu);