RE: [PATCH v6 06/13] x86/hyperv: Change vTOM handling to use standard coco mechanisms

From: Dexuan Cui
Date: Fri Mar 24 2023 - 13:10:40 EST


> From: Borislav Petkov <bp@xxxxxxxxx>
> Sent: Friday, March 24, 2023 8:49 AM
> ...
> With first six applied:
>
> arch/x86/coco/core.c:123:7: error: use of undeclared identifier 'sev_status'
> if (sev_status & MSR_AMD64_SNP_VTOM)
> ^

Your config doesn't define CONFIG_AMD_MEM_ENCRYPT:
# CONFIG_AMD_MEM_ENCRYPT is not set