lkml.org 
[lkml]   [2024]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH 10/16] KVM: x86/tdp_mmu: Support TDX private mapping for TDP MMU
    From

    >>>> +       gfn_t raw_gfn;
    >>>> +       bool is_private = fault->is_private && kvm_gfn_shared_mask(kvm);
    >>>
    >>> Ditto.  I wish we can have 'has_mirrored_private_pt'.
    >>
    >> Which name do you prefer? has_mirrored_pt or has_mirrored_private_pt?
    >
    > Why not helpers that wrap vm_type like:
    > https://lore.kernel.org/kvm/d4c96caffd2633a70a140861d91794cdb54c7655.camel@intel.com/

    I am fine with any of them -- boolean (with either name) or helper.

    \
     
     \ /
      Last update: 2024-05-27 18:29    [W:9.472 / U:0.324 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site