]> 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)
commitf7e074b5edda026c5bbf5cf735c81623b7196a0e
treec0879f08222007991e96a289233de73acfaea43f
parentb4a5f7f52ca2fbdb13ec724fb37016aca845778c
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