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

Thomas Gleixner
2022-03-17T11:56:09Z

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