lkml.org 
[lkml]   [2020]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH v2 10/20] kvm: x86/mmu: Add TDP MMU PF handler
    From
    Date
    On 14/10/20 20:26, Ben Gardon wrote:
    > + if (is_tdp_mmu_root(vcpu->kvm, vcpu->arch.mmu->root_hpa))
    > + r = kvm_tdp_mmu_map(vcpu, gpa, error_code, map_writable,
    > + max_level, pfn, prefault, is_tdp);
    > + else
    > + r = __direct_map(vcpu, gpa, error_code, map_writable, max_level,
    > + pfn, prefault, is_tdp);

    I like the rename, but I guess is_tdp is clearly enough superfluous.

    Paolo

    \
     
     \ /
      Last update: 2020-10-16 17:13    [W:5.014 / U:0.092 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site