On Tue, Jun 06, 2023 at 06:16:06PM +0200, Borislav Petkov wrote: > Why does that tdx_kvm_hypercall() thing even depend on CONFIG_KVM_GUEST? Amending with this, obviously: --- diff --git a/arch/x86/include/asm/tdx.h b/arch/x86/include/asm/tdx.h index 234197ec17e4..603e6d1e9d4a 100644 --- a/arch/x86/include/asm/tdx.h +++ b/arch/x86/include/asm/tdx.h @@ -5,6 +5,8 @@ #include <linux/init.h> #include <linux/bits.h> + +#include <asm/errno.h> #include <asm/ptrace.h> #include <asm/shared/tdx.h> -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette