aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/purgatory
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2022-07-27 23:34:23 +0000
committerPaolo Bonzini <pbonzini@redhat.com>2022-08-10 15:08:30 -0400
commit7de8e5b6b139a3a94aca24e8d8d35b77dc33e0ac (patch)
treeb2bf5b20e0ed7931a70758b79a832ca17673e2c8 /arch/x86/purgatory
parentKVM: x86: Refresh PMU after writes to MSR_IA32_PERF_CAPABILITIES (diff)
downloadlinux-dev-7de8e5b6b139a3a94aca24e8d8d35b77dc33e0ac.tar.xz
linux-dev-7de8e5b6b139a3a94aca24e8d8d35b77dc33e0ac.zip
KVM: VMX: Use proper type-safe functions for vCPU => LBRs helpers
Turn vcpu_to_lbr_desc() and vcpu_to_lbr_records() into functions in order to provide type safety, to document exactly what they return, and to allow consuming the helpers in vmx.h. Move the definitions as necessary (the macros "reference" to_vmx() before its definition). No functional change intended. Signed-off-by: Sean Christopherson <seanjc@google.com> Message-Id: <20220727233424.2968356-3-seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/purgatory')
0 files changed, 0 insertions, 0 deletions