Home
last modified time | relevance | path

Searched refs:exit_reason (Results 1 – 25 of 41) sorted by relevance

12

/Linux-v4.19/tools/testing/selftests/kvm/
Dsync_regs_test.c135 TEST_ASSERT(run->exit_reason == KVM_EXIT_IO, in main()
137 run->exit_reason, in main()
138 exit_reason_str(run->exit_reason)); in main()
157 TEST_ASSERT(run->exit_reason == KVM_EXIT_IO, in main()
159 run->exit_reason, in main()
160 exit_reason_str(run->exit_reason)); in main()
184 TEST_ASSERT(run->exit_reason == KVM_EXIT_IO, in main()
186 run->exit_reason, in main()
187 exit_reason_str(run->exit_reason)); in main()
202 TEST_ASSERT(run->exit_reason == KVM_EXIT_IO, in main()
[all …]
Dplatform_info_test.c55 TEST_ASSERT(run->exit_reason == KVM_EXIT_IO, in test_msr_platform_info_enabled()
57 run->exit_reason, in test_msr_platform_info_enabled()
58 exit_reason_str(run->exit_reason)); in test_msr_platform_info_enabled()
75 TEST_ASSERT(run->exit_reason == KVM_EXIT_SHUTDOWN, in test_msr_platform_info_disabled()
77 run->exit_reason, in test_msr_platform_info_disabled()
78 exit_reason_str(run->exit_reason)); in test_msr_platform_info_disabled()
Dvmx_tsc_adjust_test.c153 TEST_ASSERT(run->exit_reason == KVM_EXIT_IO, in main()
155 run->exit_reason, in main()
156 exit_reason_str(run->exit_reason)); in main()
Dstate_test.c151 TEST_ASSERT(run->exit_reason == KVM_EXIT_IO, in main()
153 run->exit_reason, in main()
154 exit_reason_str(run->exit_reason)); in main()
Ddirty_log_test.c128 if (run->exit_reason == KVM_EXIT_IO && in vcpu_worker()
136 exit_reason_str(run->exit_reason)); in vcpu_worker()
Dcr4_cpuid_sync_test.c89 if (run->exit_reason == KVM_EXIT_IO) { in main()
/Linux-v4.19/virt/kvm/arm/
Dtrace.h29 TP_PROTO(int idx, unsigned int exit_reason, unsigned long vcpu_pc),
30 TP_ARGS(idx, exit_reason, vcpu_pc),
34 __field( unsigned int, exit_reason )
40 __entry->exit_reason = exit_reason;
46 __entry->exit_reason,
47 __print_symbolic(__entry->exit_reason, kvm_arm_exception_class),
Darm.c671 if (run->exit_reason == KVM_EXIT_MMIO) { in kvm_arch_vcpu_ioctl_run()
687 run->exit_reason = KVM_EXIT_UNKNOWN; in kvm_arch_vcpu_ioctl_run()
717 run->exit_reason = KVM_EXIT_INTR; in kvm_arch_vcpu_ioctl_run()
731 run->exit_reason = KVM_EXIT_INTR; in kvm_arch_vcpu_ioctl_run()
Dmmio.c215 run->exit_reason = KVM_EXIT_MMIO; in io_mem_abort()
Dpsci.c223 vcpu->run->exit_reason = KVM_EXIT_SYSTEM_EVENT; in kvm_prepare_system_event()
/Linux-v4.19/arch/mips/kvm/
Dtrap_emul.c63 vcpu->run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_trap_emul_no_handler()
100 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_trap_emul_handle_cop_unusable()
105 run->exit_reason = KVM_EXIT_INTR; in kvm_trap_emul_handle_cop_unusable()
128 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_mips_bad_load()
137 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_mips_bad_load()
145 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_mips_bad_load()
147 run->exit_reason = KVM_EXIT_MMIO; in kvm_mips_bad_load()
164 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_mips_bad_store()
172 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_mips_bad_store()
174 run->exit_reason = KVM_EXIT_MMIO; in kvm_mips_bad_store()
[all …]
Dvz.c861 vcpu->run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_trap_vz_no_handler()
1453 vcpu->run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_trap_vz_handle_guest_exit()
1496 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_trap_vz_handle_cop_unusable()
1527 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_trap_vz_handle_msa_disabled()
1549 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_trap_vz_handle_tlb_ld_miss()
1558 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_trap_vz_handle_tlb_ld_miss()
1567 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_trap_vz_handle_tlb_ld_miss()
1574 run->exit_reason = KVM_EXIT_MMIO; in kvm_trap_vz_handle_tlb_ld_miss()
1577 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_trap_vz_handle_tlb_ld_miss()
1605 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_trap_vz_handle_tlb_st_miss()
[all …]
Dmips.c1282 run->exit_reason = KVM_EXIT_UNKNOWN; in kvm_mips_handle_exit()
1307 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_mips_handle_exit()
1331 if (run->exit_reason == KVM_EXIT_IRQ_WINDOW_OPEN) in kvm_mips_handle_exit()
1416 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_mips_handle_exit()
1434 run->exit_reason = KVM_EXIT_INTR; in kvm_mips_handle_exit()
/Linux-v4.19/arch/arm64/kvm/
Dhandle_exit.c136 run->exit_reason = KVM_EXIT_DEBUG; in kvm_handle_guest_debug()
285 run->exit_reason = KVM_EXIT_FAIL_ENTRY; in handle_exit()
290 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in handle_exit()
Ddebug.c254 run->exit_reason = KVM_EXIT_DEBUG; in kvm_arm_handle_step_debug()
/Linux-v4.19/arch/arm/kvm/
Dhandle_exit.c179 run->exit_reason = KVM_EXIT_FAIL_ENTRY; in handle_exit()
184 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in handle_exit()
/Linux-v4.19/arch/x86/kvm/
Dvmx.c1011 u32 exit_reason; member
2063 static void nested_vmx_vmexit(struct kvm_vcpu *vcpu, u32 exit_reason,
7082 vcpu->run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in handle_exception()
7130 kvm_run->exit_reason = KVM_EXIT_DEBUG; in handle_exception()
7136 kvm_run->exit_reason = KVM_EXIT_EXCEPTION; in handle_exception()
7152 vcpu->run->exit_reason = KVM_EXIT_SHUTDOWN; in handle_triple_fault()
7286 vcpu->run->exit_reason = KVM_EXIT_SET_TPR; in handle_cr()
7320 vcpu->run->exit_reason = 0; in handle_cr()
7353 vcpu->run->exit_reason = KVM_EXIT_DEBUG; in handle_dr()
7633 vcpu->run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in handle_task_switch()
[all …]
Dtrace.h226 TP_PROTO(unsigned int exit_reason, struct kvm_vcpu *vcpu, u32 isa),
227 TP_ARGS(exit_reason, vcpu, isa),
230 __field( unsigned int, exit_reason )
238 __entry->exit_reason = exit_reason;
247 __print_symbolic(__entry->exit_reason, VMX_EXIT_REASONS) :
248 __print_symbolic(__entry->exit_reason, SVM_EXIT_REASONS),
/Linux-v4.19/arch/powerpc/kvm/
Dbook3s_pr.c764 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvmppc_handle_pagefault()
1108 run->exit_reason = KVM_EXIT_MMIO; in kvmppc_exit_pr_progint()
1129 run->exit_reason = KVM_EXIT_UNKNOWN; in kvmppc_handle_exit_pr()
1299 run->exit_reason = KVM_EXIT_PAPR_HCALL; in kvmppc_handle_exit_pr()
1309 run->exit_reason = KVM_EXIT_OSI; in kvmppc_handle_exit_pr()
1396 run->exit_reason = KVM_EXIT_DEBUG; in kvmppc_handle_exit_pr()
1815 kvm_run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvmppc_vcpu_run_pr()
Demulate.c285 run->exit_reason = KVM_EXIT_DEBUG; in kvmppc_emulate_instruction()
Dbook3s_hv.c986 run->exit_reason = KVM_EXIT_DEBUG; in kvmppc_emulate_debug_inst()
1110 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvmppc_handle_exit_hv()
1114 run->exit_reason = KVM_EXIT_UNKNOWN; in kvmppc_handle_exit_hv()
1136 run->exit_reason = KVM_EXIT_NMI; in kvmppc_handle_exit_hv()
1176 run->exit_reason = KVM_EXIT_PAPR_HCALL; in kvmppc_handle_exit_hv()
3286 kvm_run->exit_reason = 0; in kvmppc_run_vcpu()
3331 kvm_run->exit_reason = KVM_EXIT_FAIL_ENTRY; in kvmppc_run_vcpu()
3351 v->arch.kvm_run->exit_reason = KVM_EXIT_INTR; in kvmppc_run_vcpu()
3392 kvm_run->exit_reason = KVM_EXIT_INTR; in kvmppc_run_vcpu()
3418 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvmppc_vcpu_run_hv()
[all …]
Dpowerpc.c100 vcpu->run->exit_reason = KVM_EXIT_INTR; in kvmppc_prepare_to_enter()
303 run->exit_reason = KVM_EXIT_MMIO; in kvmppc_emulate_mmio()
1448 run->exit_reason = KVM_EXIT_MMIO; in kvmppc_emulate_mmio_vsx_loadstore()
1453 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvmppc_emulate_mmio_vsx_loadstore()
1627 run->exit_reason = KVM_EXIT_MMIO; in kvmppc_emulate_mmio_vmx_loadstore()
1632 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvmppc_emulate_mmio_vmx_loadstore()
Dbooke.c730 vcpu->run->exit_reason = KVM_EXIT_WATCHDOG; in kvmppc_core_check_requests()
737 vcpu->run->exit_reason = KVM_EXIT_EPR; in kvmppc_core_check_requests()
750 kvm_run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvmppc_vcpu_run()
1034 run->exit_reason = KVM_EXIT_UNKNOWN; in kvmppc_handle_exit()
1109 run->exit_reason = KVM_EXIT_DEBUG; in kvmppc_handle_exit()
1349 run->exit_reason = KVM_EXIT_DEBUG; in kvmppc_handle_exit()
/Linux-v4.19/tools/testing/selftests/kvm/include/
Dkvm_util.h116 const char *exit_reason_str(unsigned int exit_reason);
/Linux-v4.19/arch/s390/kvm/
Ddiag.c195 vcpu->run->exit_reason = KVM_EXIT_S390_RESET; in __diag_ipl_functions()

12