Home
last modified time | relevance | path

Searched refs:apf (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/virt/kvm/
Dasync_pf.c62 struct kvm_async_pf *apf = in async_pf_execute() local
64 struct mm_struct *mm = apf->mm; in async_pf_execute()
65 struct kvm_vcpu *vcpu = apf->vcpu; in async_pf_execute()
66 unsigned long addr = apf->addr; in async_pf_execute()
67 gva_t gva = apf->gva; in async_pf_execute()
83 kvm_async_page_present_sync(vcpu, apf); in async_pf_execute()
86 list_add_tail(&apf->link, &vcpu->async_pf.done); in async_pf_execute()
87 apf->vcpu = NULL; in async_pf_execute()
/Linux-v5.4/arch/x86/kvm/
Dx86.c233 vcpu->arch.apf.gfns[i] = ~0; in kvm_async_pf_hash_reset()
586 vcpu->arch.apf.nested_apf_token = fault->address; in kvm_inject_page_fault()
2551 vcpu->arch.apf.msr_val = data; in kvm_pv_enable_async_pf()
2559 if (kvm_gfn_to_hva_cache_init(vcpu->kvm, &vcpu->arch.apf.data, gpa, in kvm_pv_enable_async_pf()
2563 vcpu->arch.apf.send_user_only = !(data & KVM_ASYNC_PF_SEND_ALWAYS); in kvm_pv_enable_async_pf()
2564 vcpu->arch.apf.delivery_as_pf_vmexit = data & KVM_ASYNC_PF_DELIVERY_AS_PF_VMEXIT; in kvm_pv_enable_async_pf()
3032 msr_info->data = vcpu->arch.apf.msr_val; in kvm_get_msr_common()
8007 vcpu->arch.apf.halted = true; in vcpu_enter_guest()
8289 vcpu->arch.apf.halted = false; in vcpu_block()
8306 !vcpu->arch.apf.halted); in kvm_vcpu_running()
[all …]
Dmmu.c4178 arch.token = (vcpu->arch.apf.id++ << 12) | vcpu->vcpu_id; in kvm_arch_setup_async_pf()
4226 switch (vcpu->arch.apf.host_apf_reason) { in kvm_handle_page_fault()
4236 vcpu->arch.apf.host_apf_reason = 0; in kvm_handle_page_fault()
4242 vcpu->arch.apf.host_apf_reason = 0; in kvm_handle_page_fault()
Dsvm.c3040 svm->vmcb->control.exit_info_2 = svm->vcpu.arch.apf.nested_apf_token; in nested_svm_check_exception()
3195 if (!npt_enabled && svm->vcpu.arch.apf.host_apf_reason == 0) in nested_svm_exit_special()
5803 svm->vcpu.arch.apf.host_apf_reason = kvm_read_and_reset_pf_reason(); in svm_vcpu_run()
/Linux-v5.4/arch/x86/include/asm/
Dkvm_host.h743 } apf; member
/Linux-v5.4/arch/x86/kvm/vmx/
Dnested.c396 *exit_qual = vcpu->arch.apf.nested_apf_token; in nested_vmx_check_exception()
5359 return !vmx->vcpu.arch.apf.host_apf_reason && enable_ept; in nested_vmx_exit_reflected()
Dvmx.c4660 WARN_ON_ONCE(!vcpu->arch.apf.host_apf_reason && enable_ept); in handle_exception_nmi()
6215 vmx->vcpu.arch.apf.host_apf_reason = kvm_read_and_reset_pf_reason(); in handle_exception_nmi_irqoff()