diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2020-05-01 21:32:25 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-05-13 12:15:04 -0400 |
commit | 56ba77a459a72a7d95be74355a40a91e1f6dd7f7 (patch) | |
tree | 5baa10ed1ca301dab3d9f57c70ebcd992af95e91 /scripts/diffconfig | |
parent | 1af1bb05625bcdd09522f416b62bcc72cc2fdd3b (diff) | |
download | linux-56ba77a459a72a7d95be74355a40a91e1f6dd7f7.tar.bz2 |
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 'scripts/diffconfig')
0 files changed, 0 insertions, 0 deletions