Re: [PATCH 09/25] KVM: TDX: Get system-wide info about TDX module on initialization

Tony Lindgren
2024-08-30T07:00:01Z

On Tue, Aug 13, 2024 at 02:47:17PM +0800, Binbin Wu wrote:
> On 8/13/2024 6:48 AM, Rick Edgecombe wrote:
> > From: Isaku Yamahata <isaku.yamahata@intel.com>
> > --- a/arch/x86/kvm/vmx/tdx.c
> > +++ b/arch/x86/kvm/vmx/tdx.c
> > @@ -3,6 +3,7 @@
> > #include <asm/tdx.h>
> > #include "capabilities.h"
> > #include "x86_ops.h"
> > +#include "mmu.h"
>
> Is this needed by this patch?

Needed but looks like it should have been introduced only in patch
"KVM: x86: Introduce KVM_TDX_GET_CPUID" for kvm_gfn_direct_bits().

Regards,

Tony