Skip to content
Snippets Groups Projects
user avatar
Vitaly Kuznetsov authored
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2119111



commit 7de8e5b6
Author: Sean Christopherson <seanjc@google.com>
Date:   Wed Jul 27 23:34:23 2022 +0000

    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: default avatarSean Christopherson <seanjc@google.com>
    Message-Id: <20220727233424.2968356-3-seanjc@google.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>

Signed-off-by: default avatarVitaly Kuznetsov <vkuznets@redhat.com>
984d831f
Name Last commit Last update