• Sean Christopherson's avatar
    KVM: x86: Uninline and export hv_track_root_tdp() · 3d4421f8
    Sean Christopherson authored
    Uninline and export Hyper-V's hv_track_root_tdp(), which is (somewhat
    indirectly) the last remaining reference to kvm_x86_ops from vendor
    modules, i.e. will allow unexporting kvm_x86_ops.  Reloading the TDP PGD
    isn't the fastest of paths, hv_track_root_tdp() isn't exactly tiny, and
    disallowing vendor code from accessing kvm_x86_ops provides nice-to-have
    encapsulation of common x86 code (and of Hyper-V code for that matter).
    
    No functional change intended.
    Signed-off-by: default avatarSean Christopherson <seanjc@google.com>
    Message-Id: <20220128005208.4008533-10-seanjc@google.com>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    3d4421f8
kvm_onhyperv.h 542 Bytes