diff options
author | 2020-10-06 18:44:13 -0700 | |
---|---|---|
committer | 2020-11-15 09:49:06 -0500 | |
commit | a447e38a7fadb2e554c3942dda183e55cccd5df0 (patch) | |
tree | d33b30ab1dfd108d218ca7e8a4c01b2aa5e9b079 /include/linux/wait.h | |
parent | KVM: VMX: Drop guest CPUID check for VMXE in vmx_set_cr4() (diff) | |
download | wireguard-linux-a447e38a7fadb2e554c3942dda183e55cccd5df0.tar.xz wireguard-linux-a447e38a7fadb2e554c3942dda183e55cccd5df0.zip |
KVM: VMX: Drop explicit 'nested' check from vmx_set_cr4()
Drop vmx_set_cr4()'s explicit check on the 'nested' module param now
that common x86 handles the check by incorporating VMXE into the CR4
reserved bits, via kvm_cpu_caps. X86_FEATURE_VMX is set in kvm_cpu_caps
(by vmx_set_cpu_caps()), if and only if 'nested' is true.
No functional change intended.
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Message-Id: <20201007014417.29276-3-sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/linux/wait.h')
0 files changed, 0 insertions, 0 deletions