Lines Matching refs:error_code
2128 bool has_error_code, u32 error_code, in vmx_queue_exception() argument
2139 vmcs_write32(VM_ENTRY_EXCEPTION_ERROR_CODE, error_code); in vmx_queue_exception()
5081 u32 intr_info, ex_no, error_code; in handle_exception() local
5111 error_code = 0; in handle_exception()
5113 error_code = vmcs_read32(VM_EXIT_INTR_ERROR_CODE); in handle_exception()
5121 !(is_page_fault(intr_info) && !(error_code & PFERR_RSVD_MASK))) { in handle_exception()
5127 vcpu->run->internal.data[2] = error_code; in handle_exception()
5135 trace_kvm_page_fault(cr2, error_code); in handle_exception()
5139 return kvm_mmu_page_fault(vcpu, cr2, error_code, NULL, 0); in handle_exception()
5145 return handle_rmode_exception(vcpu, ex_no, error_code); in handle_exception()
5149 kvm_queue_exception_e(vcpu, AC_VECTOR, error_code); in handle_exception()
5182 kvm_run->ex.error_code = error_code; in handle_exception()
5682 u32 error_code = 0; in handle_task_switch() local
5707 error_code = in handle_task_switch()
5727 has_error_code, error_code) == EMULATE_FAIL) { in handle_task_switch()
5749 u32 error_code; in handle_ept_violation() local
5782 error_code = exit_qualification & PFERR_WRITE_MASK; in handle_ept_violation()
5784 error_code |= (exit_qualification << 2) & PFERR_FETCH_MASK; in handle_ept_violation()
5786 error_code |= (exit_qualification >> 3) & PFERR_PRESENT_MASK; in handle_ept_violation()
5790 return kvm_mmu_page_fault(vcpu, gpa, error_code, NULL, 0); in handle_ept_violation()
8598 if (fault->error_code & PFERR_RSVD_MASK) in nested_ept_inject_page_fault()
8633 u16 error_code) in nested_vmx_is_page_fault_vmexit() argument
8639 (error_code & vmcs12->page_fault_error_code_mask) != in nested_vmx_is_page_fault_vmexit()
8651 if (nested_vmx_is_page_fault_vmexit(vmcs12, fault->error_code)) in vmx_inject_page_fault_nested()
9635 vcpu->arch.exception.error_code; in vmcs12_save_pending_event()