Lines Matching refs:exit_reason
218 kvm_run->exit_reason = KVM_EXIT_UNKNOWN; in handle_vm_error()
241 kvm_run->exit_reason = KVM_EXIT_MMIO; in handle_mmio()
263 if (p->exit_reason == EXIT_REASON_PAL_CALL) in handle_pal_call()
266 kvm_run->exit_reason = KVM_EXIT_UNKNOWN; in handle_pal_call()
278 if (p->exit_reason == EXIT_REASON_SAL_CALL) { in handle_sal_call()
282 kvm_run->exit_reason = KVM_EXIT_UNKNOWN; in handle_sal_call()
498 kvm_run->exit_reason = KVM_EXIT_SHUTDOWN; in handle_vm_shutdown()
538 return p_exit_data->exit_reason; in kvm_get_exit_reason()
547 u32 exit_reason = kvm_get_exit_reason(vcpu); in kvm_handle_exit() local
548 vcpu->arch.last_exit = exit_reason; in kvm_handle_exit()
550 if (exit_reason < kvm_vti_max_exit_handlers in kvm_handle_exit()
551 && kvm_vti_exit_handlers[exit_reason]) in kvm_handle_exit()
552 return kvm_vti_exit_handlers[exit_reason](vcpu, kvm_run); in kvm_handle_exit()
554 kvm_run->exit_reason = KVM_EXIT_UNKNOWN; in kvm_handle_exit()
555 kvm_run->hw.hardware_exit_reason = exit_reason; in kvm_handle_exit()
647 kvm_run->exit_reason = KVM_EXIT_INTR; in __vcpu_run()
712 kvm_run->exit_reason = KVM_EXIT_FAIL_ENTRY; in __vcpu_run()