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

From: Thomas Gleixner
Date: Thu Mar 17 2022 - 07:56:09 EST


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.

Thanks,

tglx