]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9599f107ae9ac474eaba210be143e9a4520dc903
tree268b52fb044caf3ae535aac3f6ce780ca17a1aa4
parent0cc94c85f97b1109bd7fdd0b09689e1ed590ad95
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