summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/mmu.h
diff options
context:
space:
mode:
authorXiao Guangrong <guangrong.xiao@linux.intel.com>2015-08-05 12:04:27 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2015-08-05 12:47:26 +0200
commitf735d4af4b0ec3d87885710adf18b077480e7b19 (patch)
tree700a0b8ea19a52fcb7400a2855ebacde9072d21c /arch/x86/kvm/mmu.h
parent47ab8751695f71d85562ff497e21b521c789247c (diff)
downloadlinux-stable-f735d4af4b0ec3d87885710adf18b077480e7b19.tar.gz
linux-stable-f735d4af4b0ec3d87885710adf18b077480e7b19.tar.bz2
linux-stable-f735d4af4b0ec3d87885710adf18b077480e7b19.zip
KVM: VMX: drop ept misconfig check
The logic used to check ept misconfig is completely contained in common reserved bits check for sptes, so it can be removed Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/mmu.h')
-rw-r--r--arch/x86/kvm/mmu.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/kvm/mmu.h b/arch/x86/kvm/mmu.h
index 2299d15c91dc..e4202e41d535 100644
--- a/arch/x86/kvm/mmu.h
+++ b/arch/x86/kvm/mmu.h
@@ -50,7 +50,6 @@ static inline u64 rsvd_bits(int s, int e)
return ((1ULL << (e - s + 1)) - 1) << s;
}
-int kvm_mmu_get_spte_hierarchy(struct kvm_vcpu *vcpu, u64 addr, u64 sptes[4]);
void kvm_mmu_set_mmio_spte_mask(u64 mmio_mask);
void