]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "KVM: VMX: Save HOST_CR3 in vmx_set_host_fs_gs()"
authorSean Christopherson <seanjc@google.com>
Thu, 24 Feb 2022 19:19:16 +0000 (19:19 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 25 Feb 2022 09:02:18 +0000 (04:02 -0500)
commite93d423ecc00288e18be3c481cc80e06db01b822
tree0b78bce4722e199812a29eae588367cada68ff4c
parent6a3c6c488db7cd880ac63766f3729342e56d098f
Revert "KVM: VMX: Save HOST_CR3 in vmx_set_host_fs_gs()"

Undo a nested VMX fix as a step toward reverting the commit it fixed,
204ace71bed8 ("KVM: VMX: Save HOST_CR3 in vmx_prepare_switch_to_guest()"),
as the underlying premise that "host CR3 in the vcpu thread can only be
changed when scheduling" is wrong.

This reverts commit c82796df27a5aea057d20e4a878cc4a122a22e16.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20220224191917.3508476-2-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/nested.c
arch/x86/kvm/vmx/vmx.c
arch/x86/kvm/vmx/vmx.h