diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2020-05-02 06:32:25 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-05-13 18:15:04 +0200 |
commit | 56ba77a459a72a7d95be74355a40a91e1f6dd7f7 (patch) | |
tree | 5baa10ed1ca301dab3d9f57c70ebcd992af95e91 /scripts/insert-sys-cert.c | |
parent | KVM: nVMX: Skip IBPB when temporarily switching between vmcs01 and vmcs02 (diff) | |
download | linux-56ba77a459a72a7d95be74355a40a91e1f6dd7f7.tar.xz linux-56ba77a459a72a7d95be74355a40a91e1f6dd7f7.zip |
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions