diff options
| author | Sean Christopherson <sean.j.christopherson@intel.com> | 2020-10-07 04:44:12 +0300 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-11-15 17:49:06 +0300 |
| commit | d3a9e4146a6f79f19430bca3f2a4d6ebaaffe36b (patch) | |
| tree | fb5f6abf6d24303b7748b9024d1c23e708e1eff5 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | c887c9b9ca62c051d339b1c7b796edf2724029ed (diff) | |
| download | linux-d3a9e4146a6f79f19430bca3f2a4d6ebaaffe36b.tar.xz | |
KVM: VMX: Drop guest CPUID check for VMXE in vmx_set_cr4()
Drop vmx_set_cr4()'s somewhat hidden guest_cpuid_has() check on VMXE now
that common x86 handles the check by incorporating VMXE into the CR4
reserved bits, i.e. in cr4_guest_rsvd_bits. This fixes a bug where KVM
incorrectly rejects KVM_SET_SREGS with CR4.VMXE=1 if it's executed
before KVM_SET_CPUID{,2}.
Fixes: 5e1746d6205d ("KVM: nVMX: Allow setting the VMXE bit in CR4")
Reported-by: Stas Sergeev <stsp@users.sourceforge.net>
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Message-Id: <20201007014417.29276-2-sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
