Searched refs:es_active (Results 1 – 2 of 2) sorted by relevance
135 enum misc_res_type type = sev->es_active ? MISC_CG_RES_SEV_ES : MISC_CG_RES_SEV; in sev_misc_cg_try_charge()141 enum misc_res_type type = sev->es_active ? MISC_CG_RES_SEV_ES : MISC_CG_RES_SEV; in sev_misc_cg_uncharge()153 unsigned int min_asid = sev->es_active ? 1 : min_sev_asid; in sev_asid_new()154 unsigned int max_asid = sev->es_active ? min_sev_asid - 1 : max_sev_asid; in sev_asid_new()266 sev->es_active = argp->id == KVM_SEV_ES_INIT; in sev_guest_init()287 sev->es_active = false; in sev_guest_init()1713 dst->es_active = src->es_active; in sev_migrate_from()1720 src->es_active = false; in sev_migrate_from()1753 if (!dst->es_active) in sev_migrate_from()2129 mirror_sev->es_active = source_sev->es_active; in sev_vm_copy_enc_context_from()
82 bool es_active; /* SEV-ES enabled guest */ member336 return sev->es_active && !WARN_ON_ONCE(!sev->active); in sev_es_guest()