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)
commit2e5b0bd9cc6172edef502dfae28ae790f74a882e
treec0879f08222007991e96a289233de73acfaea43f
parent0266c894b51c41d3161adb90e3c15eda3e90a7be
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