Searched refs:apf (Results 1 – 8 of 8) sorted by relevance
47 struct kvm_async_pf *apf = in async_pf_execute() local49 struct mm_struct *mm = apf->mm; in async_pf_execute()50 struct kvm_vcpu *vcpu = apf->vcpu; in async_pf_execute()51 unsigned long addr = apf->addr; in async_pf_execute()52 gpa_t cr2_or_gpa = apf->cr2_or_gpa; in async_pf_execute()70 kvm_arch_async_page_present(vcpu, apf); in async_pf_execute()74 list_add_tail(&apf->link, &vcpu->async_pf.done); in async_pf_execute()75 apf->vcpu = NULL; in async_pf_execute()
297 vcpu->arch.apf.gfns[i] = ~0; in kvm_async_pf_hash_reset()659 vcpu->arch.apf.nested_apf_token = fault->address; in kvm_inject_page_fault()2947 return (vcpu->arch.apf.msr_en_val & mask) == mask; in kvm_pv_async_pf_enabled()2969 vcpu->arch.apf.msr_en_val = data; in kvm_pv_enable_async_pf()2977 if (kvm_gfn_to_hva_cache_init(vcpu->kvm, &vcpu->arch.apf.data, gpa, in kvm_pv_enable_async_pf()2981 vcpu->arch.apf.send_user_only = !(data & KVM_ASYNC_PF_SEND_ALWAYS); in kvm_pv_enable_async_pf()2982 vcpu->arch.apf.delivery_as_pf_vmexit = data & KVM_ASYNC_PF_DELIVERY_AS_PF_VMEXIT; in kvm_pv_enable_async_pf()2998 vcpu->arch.apf.msr_int_val = data; in kvm_pv_enable_async_pf_int()3000 vcpu->arch.apf.vec = data & KVM_ASYNC_PF_VEC_MASK; in kvm_pv_enable_async_pf_int()3257 vcpu->arch.apf.pageready_pending = false; in kvm_set_msr_common()[all …]
948 svm->vmcb->control.exit_info_2 = svm->vcpu.arch.apf.nested_apf_token; in nested_svm_inject_exception_vmexit()1082 svm->vcpu.arch.apf.host_apf_flags) in nested_svm_exit_special()
3651 svm->vcpu.arch.apf.host_apf_flags = in svm_vcpu_run()
3639 u32 id = vcpu->arch.apf.id; in alloc_apf_token()3642 vcpu->arch.apf.id = 1; in alloc_apf_token()3644 return (vcpu->arch.apf.id++ << 12) | vcpu->vcpu_id; in alloc_apf_token()3770 u32 flags = vcpu->arch.apf.host_apf_flags; in kvm_handle_page_fault()3787 vcpu->arch.apf.host_apf_flags = 0; in kvm_handle_page_fault()
741 } apf; member
403 *exit_qual = vcpu->arch.apf.nested_apf_token; in nested_vmx_check_exception()5872 return vcpu->arch.apf.host_apf_flags || in nested_vmx_l0_wants_exit()
4920 if (enable_ept && !vcpu->arch.apf.host_apf_flags) { in handle_exception_nmi()6491 vmx->vcpu.arch.apf.host_apf_flags = kvm_read_and_reset_apf_flags(); in handle_exception_nmi_irqoff()