diff options
| author | 2026-06-12 17:03:12 -0700 | |
|---|---|---|
| committer | 2026-06-24 08:13:09 -0400 | |
| commit | 9d13832ced63160ca67b6c72868b794cbcda556d (patch) | |
| tree | c108b91acf0fbabd819a1b7c633c08e5880ca087 /scripts/Makefile.thinlto | |
| parent | KVM: x86: Extract get/set MSR (list) ioctl logic to helpers (diff) | |
KVM: x86: Expose several TSC helpers via x86.h for use by MSR code
Begrudgingly move adjust_tsc_offset_{guest,host}() to x86.h as inlines,
and expose several other TSC helpers in anticipation of moving KVM's MSR
code to a dedicated msrs.c. Unfortunately for KVM, several MSRs that KVM
emulates can affect TSC state.
Opportunistically drop a superfluous local "tsc_offset" variable, whose
existence causes checkpatch to complain about lack of a blank line.
No functional change intended.
Reviewed-by: Kai Huang <kai.huang@intel.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-ID: <20260613000329.732085-14-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
