Re: [PATCH v13 017/113] KVM: TDX: Add place holder for TDX VM specific mem_enc_op ioctl

From: Isaku Yamahata
Date: Wed Mar 29 2023 - 19:23:03 EST


On Sat, Mar 25, 2023 at 11:05:50AM +0200,
Zhi Wang <zhi.wang.linux@xxxxxxxxx> wrote:

> > diff --git a/arch/x86/include/asm/kvm-x86-ops.h b/arch/x86/include/asm/kvm-x86-ops.h
> > index b46dcac078b2..58fbaa05fc8c 100644
> > --- a/arch/x86/include/asm/kvm-x86-ops.h
> > +++ b/arch/x86/include/asm/kvm-x86-ops.h
> > @@ -117,7 +117,7 @@ KVM_X86_OP(enter_smm)
> > KVM_X86_OP(leave_smm)
> > KVM_X86_OP(enable_smi_window)
> > #endif
> > -KVM_X86_OP_OPTIONAL(dev_mem_enc_ioctl)
> > +KVM_X86_OP(dev_mem_enc_ioctl)
>
> I guess it should be KVM_X86_OP(mem_enc_ioctl) here.

Yes, thanks for catching it.
--
Isaku Yamahata <isaku.yamahata@xxxxxxxxx>