/arch/arm64/kvm/ |
D | handle_exit.c | 150 run->exit_reason = KVM_EXIT_DEBUG; in kvm_handle_guest_debug() 300 run->exit_reason = KVM_EXIT_FAIL_ENTRY; in handle_exit() 307 run->exit_reason = KVM_EXIT_FAIL_ENTRY; in handle_exit() 312 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in handle_exit()
|
D | mmio.c | 149 run->exit_reason = KVM_EXIT_ARM_NISV; in io_mem_abort() 203 run->exit_reason = KVM_EXIT_MMIO; in io_mem_abort()
|
D | psci.c | 172 vcpu->run->exit_reason = KVM_EXIT_SYSTEM_EVENT; in kvm_prepare_system_event() 197 run->exit_reason = KVM_EXIT_SYSTEM_EVENT; in kvm_psci_system_suspend()
|
D | arm.c | 859 vcpu->run->exit_reason = KVM_EXIT_SYSTEM_EVENT; in kvm_vcpu_suspend() 954 run->exit_reason = KVM_EXIT_INTR; in kvm_vcpu_exit_request() 960 run->exit_reason = KVM_EXIT_FAIL_ENTRY; in kvm_vcpu_exit_request() 1004 if (run->exit_reason == KVM_EXIT_MMIO) { in kvm_arch_vcpu_ioctl_run() 1020 run->exit_reason = KVM_EXIT_UNKNOWN; in kvm_arch_vcpu_ioctl_run()
|
/arch/x86/kvm/ |
D | trace.h | 281 #define kvm_print_exit_reason(exit_reason, isa) \ argument 283 __print_symbolic(exit_reason & 0xffff, VMX_EXIT_REASONS) : \ 284 __print_symbolic(exit_reason, SVM_EXIT_REASONS), \ 285 (isa == KVM_ISA_VMX && exit_reason & ~0xffff) ? " " : "", \ 287 __print_flags(exit_reason & ~0xffff, " ", VMX_EXIT_REASON_FLAGS) : "" 291 TP_PROTO(unsigned int exit_reason, struct kvm_vcpu *vcpu, u32 isa), \ 292 TP_ARGS(exit_reason, vcpu, isa), \ 295 __field( unsigned int, exit_reason ) \ 306 __entry->exit_reason = exit_reason; \ 319 kvm_print_exit_reason(__entry->exit_reason, __entry->isa), \ [all …]
|
D | x86.c | 1886 u32 exit_reason, u64 data, in kvm_msr_user_space() argument 1896 vcpu->run->exit_reason = exit_reason; in kvm_msr_user_space() 7020 vcpu->run->exit_reason = KVM_EXIT_MMIO; in emulator_read_write() 7153 vcpu->run->exit_reason = KVM_EXIT_IO; in emulator_pio_in_out() 7745 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in prepare_emulation_failure_exit() 7783 vcpu->run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in handle_emulation_failure() 7964 kvm_run->exit_reason = KVM_EXIT_DEBUG; in kvm_vcpu_do_singlestep() 8008 kvm_run->exit_reason = KVM_EXIT_DEBUG; in kvm_vcpu_check_code_breakpoint() 8747 vcpu->run->exit_reason = reason; in __kvm_vcpu_halt() 8976 vcpu->run->exit_reason = KVM_EXIT_HYPERCALL; in kvm_emulate_hypercall() [all …]
|
D | xen.c | 760 vcpu->run->exit_reason = KVM_EXIT_XEN; in kvm_xen_hypercall()
|
/arch/x86/kvm/vmx/ |
D | vmx.c | 1558 if (to_vmx(vcpu)->exit_reason.enclave_mode) { in vmx_can_emulate_instruction() 1567 union vmx_exit_reason exit_reason = to_vmx(vcpu)->exit_reason; in skip_emulated_instruction() local 1580 exit_reason.basic != EXIT_REASON_EPT_MISCONFIG) { in skip_emulated_instruction() 1602 WARN(exit_reason.enclave_mode, in skip_emulated_instruction() 4884 vcpu->run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in handle_exception_nmi() 4960 kvm_run->exit_reason = KVM_EXIT_DEBUG; in handle_exception_nmi() 4979 kvm_run->exit_reason = KVM_EXIT_EXCEPTION; in handle_exception_nmi() 4995 vcpu->run->exit_reason = KVM_EXIT_SHUTDOWN; in handle_triple_fault() 5123 vcpu->run->exit_reason = KVM_EXIT_SET_TPR; in handle_cr() 5156 vcpu->run->exit_reason = 0; in handle_cr() [all …]
|
D | sgx.c | 56 vcpu->run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in sgx_handle_emulation_failure() 115 vcpu->run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in sgx_inject_fault() 158 vcpu->run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in __handle_encls_ecreate() 391 vcpu->run->exit_reason = KVM_EXIT_UNKNOWN; in handle_encls()
|
D | nested.c | 3201 vcpu->run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in nested_get_vmcs12_pages() 3268 vcpu->run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in vmx_get_nested_state_pages() 3369 union vmx_exit_reason exit_reason = { in nested_vmx_enter_non_root_mode() local 3426 exit_reason.basic = EXIT_REASON_INVALID_STATE; in nested_vmx_enter_non_root_mode() 3435 exit_reason.basic = EXIT_REASON_INVALID_STATE; in nested_vmx_enter_non_root_mode() 3445 exit_reason.basic = EXIT_REASON_MSR_LOAD_FAIL; in nested_vmx_enter_non_root_mode() 3513 vmcs12->vm_exit_reason = exit_reason.full; in nested_vmx_enter_non_root_mode() 4235 if (to_vmx(vcpu)->exit_reason.enclave_mode) in prepare_vmcs12() 5713 nested_vmx_vmexit(vcpu, vmx->exit_reason.full, in handle_vmfunc() 5782 union vmx_exit_reason exit_reason) in nested_vmx_exit_handled_msr() argument [all …]
|
D | vmx.h | 310 union vmx_exit_reason exit_reason; member
|
/arch/mips/kvm/ |
D | vz.c | 836 vcpu->run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_trap_vz_no_handler() 1537 vcpu->run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_trap_vz_handle_guest_exit() 1579 vcpu->run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_trap_vz_handle_cop_unusable() 1608 vcpu->run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_trap_vz_handle_msa_disabled() 1630 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_trap_vz_handle_tlb_ld_miss() 1639 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_trap_vz_handle_tlb_ld_miss() 1648 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_trap_vz_handle_tlb_ld_miss() 1655 run->exit_reason = KVM_EXIT_MMIO; in kvm_trap_vz_handle_tlb_ld_miss() 1658 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_trap_vz_handle_tlb_ld_miss() 1686 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_trap_vz_handle_tlb_st_miss() [all …]
|
D | mips.c | 1190 run->exit_reason = KVM_EXIT_UNKNOWN; in kvm_mips_handle_exit() 1223 if (run->exit_reason == KVM_EXIT_IRQ_WINDOW_OPEN) in kvm_mips_handle_exit() 1308 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_mips_handle_exit() 1325 run->exit_reason = KVM_EXIT_INTR; in kvm_mips_handle_exit()
|
/arch/powerpc/kvm/ |
D | emulate.c | 273 vcpu->run->exit_reason = KVM_EXIT_DEBUG; in kvmppc_emulate_instruction()
|
D | book3s_pr.c | 777 vcpu->run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvmppc_handle_pagefault() 1120 vcpu->run->exit_reason = KVM_EXIT_MMIO; in kvmppc_exit_pr_progint() 1141 run->exit_reason = KVM_EXIT_UNKNOWN; in kvmppc_handle_exit_pr() 1310 run->exit_reason = KVM_EXIT_PAPR_HCALL; in kvmppc_handle_exit_pr() 1320 run->exit_reason = KVM_EXIT_OSI; in kvmppc_handle_exit_pr() 1407 run->exit_reason = KVM_EXIT_DEBUG; in kvmppc_handle_exit_pr() 1812 vcpu->run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvmppc_vcpu_run_pr()
|
D | book3s_hv.c | 1322 vcpu->run->exit_reason = KVM_EXIT_DEBUG; in kvmppc_emulate_debug_inst() 1446 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvmppc_handle_exit_hv() 1450 run->exit_reason = KVM_EXIT_UNKNOWN; in kvmppc_handle_exit_hv() 1494 run->exit_reason = KVM_EXIT_NMI; in kvmppc_handle_exit_hv() 1559 run->exit_reason = KVM_EXIT_PAPR_HCALL; in kvmppc_handle_exit_hv() 4295 run->exit_reason = 0; in kvmppc_run_vcpu() 4339 run->exit_reason = KVM_EXIT_FAIL_ENTRY; in kvmppc_run_vcpu() 4359 v->run->exit_reason = KVM_EXIT_INTR; in kvmppc_run_vcpu() 4400 run->exit_reason = KVM_EXIT_INTR; in kvmppc_run_vcpu() 4428 run->exit_reason = 0; in kvmhv_run_single_vcpu() [all …]
|
D | powerpc.c | 95 vcpu->run->exit_reason = KVM_EXIT_INTR; in kvmppc_prepare_to_enter() 298 vcpu->run->exit_reason = KVM_EXIT_MMIO; in kvmppc_emulate_mmio() 1479 run->exit_reason = KVM_EXIT_MMIO; in kvmppc_emulate_mmio_vsx_loadstore() 1484 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvmppc_emulate_mmio_vsx_loadstore() 1658 run->exit_reason = KVM_EXIT_MMIO; in kvmppc_emulate_mmio_vmx_loadstore() 1663 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvmppc_emulate_mmio_vmx_loadstore()
|
D | booke.c | 744 vcpu->run->exit_reason = KVM_EXIT_WATCHDOG; in kvmppc_core_check_requests() 751 vcpu->run->exit_reason = KVM_EXIT_EPR; in kvmppc_core_check_requests() 764 vcpu->run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvmppc_vcpu_run() 1063 run->exit_reason = KVM_EXIT_UNKNOWN; in kvmppc_handle_exit() 1138 run->exit_reason = KVM_EXIT_DEBUG; in kvmppc_handle_exit() 1378 run->exit_reason = KVM_EXIT_DEBUG; in kvmppc_handle_exit()
|
D | e500_emulate.c | 93 vcpu->run->exit_reason = KVM_EXIT_DEBUG; in kvmppc_e500_emul_ehpriv()
|
D | trace_hv.h | 487 __entry->exit = vcpu->run->exit_reason;
|
/arch/s390/kvm/ |
D | diag.c | 239 vcpu->run->exit_reason = KVM_EXIT_S390_RESET; in __diag_ipl_functions()
|
D | kvm-s390.c | 4121 static int vcpu_post_run(struct kvm_vcpu *vcpu, int exit_reason) in vcpu_post_run() argument 4136 if (exit_reason == -EINTR) { in vcpu_post_run() 4150 vcpu->run->exit_reason = KVM_EXIT_S390_SIEIC; in vcpu_post_run() 4155 } else if (exit_reason != -EFAULT) { in vcpu_post_run() 4159 vcpu->run->exit_reason = KVM_EXIT_S390_UCONTROL; in vcpu_post_run() 4178 int rc, exit_reason; in __vcpu_run() local 4208 exit_reason = sie64a(vcpu->arch.sie_block, in __vcpu_run() 4231 rc = vcpu_post_run(vcpu, exit_reason); in __vcpu_run() 4452 kvm_run->exit_reason = KVM_EXIT_INTR; in kvm_arch_vcpu_ioctl_run()
|
D | guestdbg.c | 373 vcpu->run->exit_reason = KVM_EXIT_DEBUG; in kvm_s390_prepare_debug_exit()
|
/arch/arm64/kvm/hyp/nvhe/ |
D | hyp-main.c | 626 static void sync_hyp_vcpu(struct pkvm_hyp_vcpu *hyp_vcpu, u32 exit_reason) in sync_hyp_vcpu() argument 642 switch (ARM_EXCEPTION_CODE(exit_reason)) { in sync_hyp_vcpu() 668 hyp_vcpu->exit_code = exit_reason; in sync_hyp_vcpu()
|
/arch/x86/kvm/svm/ |
D | svm.c | 1980 kvm_run->exit_reason = KVM_EXIT_DEBUG; in db_interception() 1997 kvm_run->exit_reason = KVM_EXIT_DEBUG; in bp_interception() 2102 kvm_run->exit_reason = KVM_EXIT_SHUTDOWN; in shutdown_interception() 2659 vcpu->run->exit_reason = KVM_EXIT_SET_TPR; in cr8_write_interception() 3298 vcpu->run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in svm_handle_invalid_exit() 3372 kvm_run->exit_reason = KVM_EXIT_FAIL_ENTRY; in handle_exit()
|