> --- a/arch/x86/hyperv/ivm.c > +++ b/arch/x86/hyperv/ivm.c > @@ -450,6 +450,16 @@ static bool hv_is_private_mmio(u64 addr) > return false; > } > > +static void hv_print_mem_enc_feature_info(void) > +{ > + enum hv_isolation_type type = hv_get_isolation_type(); > + > + if (type == HV_ISOLATION_TYPE_SNP) > + pr_info("Memory Encryption Features active: AMD SEV\n"); > + else if (type == HV_ISOLATION_TYPE_TDX) > + pr_info("Memory Encryption Features active: Intel TDX\n"); > +} If we draw this to its logical conclusion, every paravisor will need a pr_info() for every hardware CoCo implementation. That M*N pr_info()s. That seems nuts.