Home
last modified time | relevance | path

Searched refs:es_active (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/arch/x86/kvm/svm/
Dsev.c126 enum misc_res_type type = sev->es_active ? MISC_CG_RES_SEV_ES : MISC_CG_RES_SEV; in sev_misc_cg_try_charge()
132 enum misc_res_type type = sev->es_active ? MISC_CG_RES_SEV_ES : MISC_CG_RES_SEV; in sev_misc_cg_uncharge()
156 min_asid = sev->es_active ? 1 : min_sev_asid; in sev_asid_new()
157 max_asid = sev->es_active ? min_sev_asid - 1 : max_sev_asid; in sev_asid_new()
251 sev->es_active = argp->id == KVM_SEV_ES_INIT; in sev_guest_init()
272 sev->es_active = false; in sev_guest_init()
1679 dst->es_active = src->es_active; in sev_migrate_from()
1686 src->es_active = false; in sev_migrate_from()
1719 if (!dst->es_active) in sev_migrate_from()
2090 mirror_sev->es_active = source_sev->es_active; in sev_vm_copy_enc_context_from()
Dsvm.h77 bool es_active; /* SEV-ES enabled guest */ member
310 return sev->es_active && !WARN_ON_ONCE(!sev->active); in sev_es_guest()