Re: [PATCHv6 12/30] x86/tdx: Detect TDX at early kernel decompression time

Kirill A. Shutemov
2022-03-17T18:04:28Z

On Thu, Mar 17, 2022 at 12:55:57PM +0100, Thomas Gleixner wrote:
> On Wed, Mar 16 2022 at 05:08, Kirill A. Shutemov wrote:
> > +
> > +#include <asm/shared/tdx.h>
> > +
> > +static bool tdx_guest_detected;
> > +
> > +bool early_is_tdx_guest(void)
> > +{
> > + return tdx_guest_detected;
> > +}
>
> Neither tdx_guest_detected nor early_is_tdx_guest() is used anywhere.

Oh. Leftovers. Will drop.

--
Kirill A. Shutemov