Home
last modified time | relevance | path

Searched refs:smram64 (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/arch/x86/kvm/
Dsmm.h138 struct kvm_smram_state_64 smram64; member
Dsmm.c294 enter_smm_save_state_64(vcpu, &smram.smram64); in enter_smm()
644 return rsm_load_state_64(ctxt, &smram.smram64); in emulator_leave_smm()
/linux-6.6.21/arch/x86/kvm/svm/
Dsvm.c4621 smram->smram64.svm_guest_flag = 1; in svm_enter_smm()
4622 smram->smram64.svm_guest_vmcb_gpa = svm->nested.vmcb12_gpa; in svm_enter_smm()
4663 const struct kvm_smram_state_64 *smram64 = &smram->smram64; in svm_leave_smm() local
4669 if (!smram64->svm_guest_flag) in svm_leave_smm()
4675 if (!(smram64->efer & EFER_SVME)) in svm_leave_smm()
4678 if (kvm_vcpu_map(vcpu, gpa_to_gfn(smram64->svm_guest_vmcb_gpa), &map)) in svm_leave_smm()
4704 ret = enter_svm_guest_mode(vcpu, smram64->svm_guest_vmcb_gpa, vmcb12, false); in svm_leave_smm()