aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kernel/mpparse.c
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2021-07-13 09:33:06 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2021-08-02 11:01:55 -0400
commit1dd7a4f18fbcc0db1acc07df5c1ae8ba4ce10593 (patch)
treed8dbbc467e9f603069e936ab120a6d72fae3754b /arch/x86/kernel/mpparse.c
parent32437c2aea428f9c3479904e342b02f5eee3a7f6 (diff)
KVM: VMX: Skip emulation required checks during pmode/rmode transitions
Don't refresh "emulation required" when stuffing segments during transitions to/from real mode when running without unrestricted guest. The checks are unnecessary as vmx_set_cr0() unconditionally rechecks "emulation required". They also happen to be broken, as enter_pmode() and enter_rmode() run with a stale vcpu->arch.cr0. Signed-off-by: Sean Christopherson <seanjc@google.com> Message-Id: <20210713163324.627647-29-seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kernel/mpparse.c')
0 files changed, 0 insertions, 0 deletions