Searched refs:es_active (Results 1 – 2 of 2) sorted by relevance
134 enum misc_res_type type = sev->es_active ? MISC_CG_RES_SEV_ES : MISC_CG_RES_SEV; in sev_misc_cg_try_charge()140 enum misc_res_type type = sev->es_active ? MISC_CG_RES_SEV_ES : MISC_CG_RES_SEV; in sev_misc_cg_uncharge()164 min_asid = sev->es_active ? 1 : min_sev_asid; in sev_asid_new()165 max_asid = sev->es_active ? min_sev_asid - 1 : max_sev_asid; in sev_asid_new()259 sev->es_active = argp->id == KVM_SEV_ES_INIT; in sev_guest_init()280 sev->es_active = false; in sev_guest_init()1695 dst->es_active = src->es_active; in sev_migrate_from()1702 src->es_active = false; in sev_migrate_from()1735 if (!dst->es_active) in sev_migrate_from()2109 mirror_sev->es_active = source_sev->es_active; in sev_vm_copy_enc_context_from()
81 bool es_active; /* SEV-ES enabled guest */ member335 return sev->es_active && !WARN_ON_ONCE(!sev->active); in sev_es_guest()