]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - arch/x86/kvm/vmx.c
KVM: VMX: Don't enable EPT A/D feature if EPT feature is disabled
authorWanpeng Li <wanpeng.li@hotmail.com>
Thu, 11 May 2017 09:58:56 +0000 (02:58 -0700)
committerRadim Krčmář <rkrcmar@redhat.com>
Mon, 15 May 2017 14:08:57 +0000 (16:08 +0200)
commitfce6ac4c0508b985d497e3d9c8eff28ec8a43182
tree268b52fb044caf3ae535aac3f6ce780ca17a1aa4
parenta575813bfe4bc15aba511a5e91e61d242bff8b9d
KVM: VMX: Don't enable EPT A/D feature if EPT feature is disabled

We can observe eptad kvm_intel module parameter is still Y
even if ept is disabled which is weird. This patch will
not enable EPT A/D feature if EPT feature is disabled.

Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Wanpeng Li <wanpeng.li@hotmail.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/kvm/vmx.c