]> git.baikalelectronics.ru Git - kernel.git/commit
kvm: nVMX: Don't validate disabled secondary controls
authorJim Mattson <jmattson@google.com>
Thu, 4 May 2017 18:51:58 +0000 (11:51 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 5 May 2017 08:08:31 +0000 (10:08 +0200)
commitd6fe59d0f33440df4c09f90d8938878bb59d85b1
treec0879f08222007991e96a289233de73acfaea43f
parentcacd9ee0dd4c019e9cfd8ed1b2e1dd9645fee432
kvm: nVMX: Don't validate disabled secondary controls

According to the SDM, if the "activate secondary controls" primary
processor-based VM-execution control is 0, no checks are performed on
the secondary processor-based VM-execution controls.

Signed-off-by: Jim Mattson <jmattson@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c