> From: Sathyanarayanan Kuppuswamy > <sathyanarayanan.kuppuswamy@xxxxxxxxxxxxxxx> > > [...] > > Like make it return false for !CONFIG_INTEL_TDX_GUEST and avoid all > > #if/#ifdefs in C file. > > There is a weak reference to hv_isolation_type_tdx() which returns false > by default. So defining the hv_isolation_type_tdx within > #ifdef CONFIG_INTEL_TDX_GUEST would be enough. Will do. Thanks!