lkml.org 
[lkml]   [2023]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH v13 005/113] KVM: TDX: Add placeholders for TDX VM/vcpu structure
    Date
    On Sun, 2023-03-12 at 10:55 -0700, isaku.yamahata@intel.com wrote:
    > +
    > +static inline bool is_td(struct kvm *kvm)
    > +{
    > + return kvm->arch.vm_type == KVM_X86_PROTECTED_VM;
    > +}
    > +

    KVM_X86_PROTECTED_VM is defined in the next patch, which means this patch cannot
    compile.

    Also, why KVM_X86_PROTECTED_VM == TDX VM?
    \
     
     \ /
      Last update: 2023-03-27 01:01    [W:4.331 / U:0.164 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site