diff options
author | Sean Christopherson <[email protected]> | 2022-07-27 23:34:23 +0000 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2022-08-10 15:08:30 -0400 |
commit | 7de8e5b6b139a3a94aca24e8d8d35b77dc33e0ac (patch) | |
tree | b2bf5b20e0ed7931a70758b79a832ca17673e2c8 /lib/mpi/mpi-cmp.c | |
parent | 17a024a8b981243fa1d17cf0084de43cc5f9b603 (diff) |
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 <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions