linux/arch/x86/kvm/svm
Sean Christopherson 844d69c26d KVM: SVM: Delay restoration of host MSR_TSC_AUX until return to userspace
Use KVM's "user return MSRs" framework to defer restoring the host's
MSR_TSC_AUX until the CPU returns to userspace.  Add/improve comments to
clarify why MSR_TSC_AUX is intercepted on both RDMSR and WRMSR, and why
it's safe for KVM to keep the guest's value loaded even if KVM is
scheduled out.

Cc: Reiji Watanabe <reijiw@google.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210423223404.3860547-5-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2021-04-26 05:26:13 -04:00
..
avic.c KVM: SVM: Pass struct kvm_vcpu to exit handlers (and many, many other places) 2021-03-15 04:43:09 -04:00
nested.c Merge branch 'kvm-sev-cgroup' into HEAD 2021-04-22 13:19:01 -04:00
pmu.c KVM: x86/vPMU: Forbid writing to MSR_F15H_PERF MSRs when guest doesn't have X86_FEATURE_PERFCTR_CORE 2021-03-30 13:07:10 -04:00
sev.c Merge branch 'kvm-sev-cgroup' into HEAD 2021-04-22 13:19:01 -04:00
svm.c KVM: SVM: Delay restoration of host MSR_TSC_AUX until return to userspace 2021-04-26 05:26:13 -04:00
svm.h KVM: SVM: Delay restoration of host MSR_TSC_AUX until return to userspace 2021-04-26 05:26:13 -04:00
svm_ops.h KVM: SVM: use vmsave/vmload for saving/restoring additional host state 2021-02-04 05:27:34 -05:00
vmenter.S KVM/SVM: Move vmenter.S exception fixups out of line 2021-03-15 04:43:56 -04:00