Re: [RFC v2 10/32] x86/tdx: Wire up KVM hypercalls

From: Kirill A. Shutemov
Date: Wed May 12 2021 - 09:00:08 EST


On Fri, May 07, 2021 at 05:59:34PM -0700, Kuppuswamy, Sathyanarayanan wrote:
>
>
> On 5/7/21 2:46 PM, Dave Hansen wrote:
> > I know KVM does weird stuff. But, this is*really* weird. Why are we
> > #including a .c file into another .c file?
>
> I think Kirill implemented it this way to skip Makefile changes for it. I don't
> see any other KVM direct dependencies in tdx.c.
>
> I will fix it in next version.

This has to be compiled only for TDX+KVM.

--
Kirill A. Shutemov