Re: [PATCH v7 010/102] x86/virt/tdx: Add a helper function to return system wide info about TDX module

From: Isaku Yamahata
Date: Mon Jul 11 2022 - 20:40:03 EST


On Thu, Jul 07, 2022 at 10:46:02AM +0800,
Yuan Yao <yuan.yao@xxxxxxxxxxxxxxx> wrote:

> On Mon, Jun 27, 2022 at 02:53:02PM -0700, isaku.yamahata@xxxxxxxxx wrote:
> > From: Isaku Yamahata <isaku.yamahata@xxxxxxxxx>
> >
> > TDX KVM needs system-wide information about the TDX module, struct
> > tdsysinfo_struct. Add a helper function tdx_get_sysinfo() to return it
> > instead of KVM getting it with various error checks. Move out the struct
> > definition about it to common place tdx_host.h.
>
> Please correct the tdx_host.h to tdx.h or arch/x86/include/asm/tdx.h

Oops. Thanks for catching it. fixed it.
--
Isaku Yamahata <isaku.yamahata@xxxxxxxxx>