]> 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)
commit85f1a836a9fe4ea568d9cc9fc87febebf4df23b3
tree0b78bce4722e199812a29eae588367cada68ff4c
parent9f65b41ba95d900985ce2b1ff1515c508c02132f
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,
daffa4f5285c ("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 084d81728ae754f0766d7af914ea53a7447a3df1.

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