Searched refs:es_active (Results 1 – 2 of 2) sorted by relevance
191 enum misc_res_type type = sev->es_active ? MISC_CG_RES_SEV_ES : MISC_CG_RES_SEV; in sev_misc_cg_try_charge()197 enum misc_res_type type = sev->es_active ? MISC_CG_RES_SEV_ES : MISC_CG_RES_SEV; in sev_misc_cg_uncharge()214 } else if (sev->es_active) { in sev_asid_new()447 bool es_active = vm_type != KVM_X86_SEV_VM; in __sev_guest_init() local449 u64 valid_vmsa_features = es_active ? sev_supported_vmsa_features : 0; in __sev_guest_init()464 if (data->ghcb_version > GHCB_VERSION_MAX || (!es_active && data->ghcb_version)) in __sev_guest_init()472 if (es_active && !data->ghcb_version) in __sev_guest_init()482 sev->es_active = es_active; in __sev_guest_init()526 sev->es_active = false; in __sev_guest_init()1978 dst->es_active = src->es_active; in sev_migrate_from()[all …]
97 bool es_active; /* SEV-ES enabled guest */ member381 return sev->es_active && !WARN_ON_ONCE(!sev->active); in sev_es_guest()