linux_dsm_epyc7002/arch/x86/kvm/svm
Paolo Bonzini 978ce5837c KVM: SVM: always update CR3 in VMCB
svm_load_mmu_pgd is delaying the write of GUEST_CR3 to prepare_vmcs02 as
an optimization, but this is only correct before the nested vmentry.
If userspace is modifying CR3 with KVM_SET_SREGS after the VM has
already been put in guest mode, the value of CR3 will not be updated.
Remove the optimization, which almost never triggers anyway.
This was was added in commit 689f3bf216 ("KVM: x86: unify callbacks
to load paging root", 2020-03-16) just to keep the two vendor-specific
modules closer, but we'll fix VMX too.

Fixes: 689f3bf216 ("KVM: x86: unify callbacks to load paging root")
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-05-28 11:46:18 -04:00
..
avic.c KVM: SVM: Move AVIC code to separate file 2020-04-03 10:53:56 -04:00
nested.c KVM: SVM: always update CR3 in VMCB 2020-05-28 11:46:18 -04:00
pmu.c kVM SVM: Move SVM related files to own sub-directory 2020-04-03 10:53:47 -04:00
sev.c arch/x86/kvm/svm/sev.c: change flag passed to GUP fast in sev_pin_memory() 2020-05-07 19:27:20 -07:00
svm.c KVM: SVM: always update CR3 in VMCB 2020-05-28 11:46:18 -04:00
svm.h KVM: nSVM: remove exit_required 2020-05-28 11:46:17 -04:00
vmenter.S KVM: SVM: Do not setup frame pointer in __svm_vcpu_run 2020-04-15 12:08:38 -04:00