linux/arch/x86/kvm/svm
Sean Christopherson 56ba77a459 KVM: x86: Save L1 TSC offset in 'struct kvm_vcpu_arch'
Save L1's TSC offset in 'struct kvm_vcpu_arch' and drop the kvm_x86_ops
hook read_l1_tsc_offset().  This avoids a retpoline (when configured)
when reading L1's effective TSC, which is done at least once on every
VM-Exit.

No functional change intended.

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Message-Id: <20200502043234.12481-2-sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-05-13 12:15:04 -04:00
..
avic.c KVM: SVM: Move AVIC code to separate file 2020-04-03 10:53:56 -04:00
nested.c KVM: nSVM: Preserve IRQ/NMI/SMI priority irrespective of exiting behavior 2020-05-13 12:14:45 -04:00
pmu.c
sev.c KVM: SVM: Fix build error due to missing release_pages() include 2020-04-15 12:08:37 -04:00
svm.c KVM: x86: Save L1 TSC offset in 'struct kvm_vcpu_arch' 2020-05-13 12:15:04 -04:00
svm.h KVM: nSVM: Report interrupts as allowed when in L2 and exit-on-interrupt is set 2020-05-13 12:14:44 -04:00
vmenter.S KVM: SVM: Do not setup frame pointer in __svm_vcpu_run 2020-04-15 12:08:38 -04:00