Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/tools/testing/selftests/kvm/x86_64/
Dsync_regs_test.c141 TEST_ASSERT(run->exit_reason == KVM_EXIT_IO, in main()
143 run->exit_reason, in main()
144 exit_reason_str(run->exit_reason)); in main()
163 TEST_ASSERT(run->exit_reason == KVM_EXIT_IO, in main()
165 run->exit_reason, in main()
166 exit_reason_str(run->exit_reason)); in main()
190 TEST_ASSERT(run->exit_reason == KVM_EXIT_IO, in main()
192 run->exit_reason, in main()
193 exit_reason_str(run->exit_reason)); in main()
208 TEST_ASSERT(run->exit_reason == KVM_EXIT_IO, in main()
[all …]
Ddebug_regs.c96 TEST_ASSERT(run->exit_reason == KVM_EXIT_DEBUG && in main()
100 run->exit_reason, run->debug.arch.exception, in main()
113 TEST_ASSERT(run->exit_reason == KVM_EXIT_DEBUG && in main()
119 i, run->exit_reason, run->debug.arch.exception, in main()
136 TEST_ASSERT(run->exit_reason == KVM_EXIT_DEBUG && in main()
142 i, run->exit_reason, run->debug.arch.exception, in main()
162 TEST_ASSERT(run->exit_reason == KVM_EXIT_DEBUG && in main()
168 i, run->exit_reason, run->debug.arch.exception, in main()
180 TEST_ASSERT(run->exit_reason == KVM_EXIT_DEBUG && in main()
186 run->exit_reason, run->debug.arch.exception, 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()
74 TEST_ASSERT(run->exit_reason == KVM_EXIT_SHUTDOWN, in test_msr_platform_info_disabled()
76 run->exit_reason, in test_msr_platform_info_disabled()
77 exit_reason_str(run->exit_reason)); in test_msr_platform_info_disabled()
Dvmx_apic_access_test.c109 TEST_ASSERT(run->exit_reason == in main()
112 run->exit_reason, in main()
113 exit_reason_str(run->exit_reason)); in main()
120 TEST_ASSERT(run->exit_reason == KVM_EXIT_IO, in main()
122 run->exit_reason, in main()
123 exit_reason_str(run->exit_reason)); in main()
Dvmx_close_while_nested_test.c71 TEST_ASSERT(run->exit_reason == KVM_EXIT_IO, in main()
73 run->exit_reason, in main()
74 exit_reason_str(run->exit_reason)); in main()
Dsvm_vmcall_test.c57 TEST_ASSERT(run->exit_reason == KVM_EXIT_IO, in main()
59 run->exit_reason, in main()
60 exit_reason_str(run->exit_reason)); in main()
Dcr4_cpuid_sync_test.c91 TEST_ASSERT(run->exit_reason == KVM_EXIT_IO, in main()
93 run->exit_reason, in main()
94 exit_reason_str(run->exit_reason)); in main()
Devmcs_test.c115 TEST_ASSERT(run->exit_reason == KVM_EXIT_IO, in main()
117 stage, run->exit_reason, in main()
118 exit_reason_str(run->exit_reason)); in main()
162 TEST_ASSERT(run->exit_reason == KVM_EXIT_SHUTDOWN, in main()
Dvmx_dirty_log_test.c121 TEST_ASSERT(run->exit_reason == KVM_EXIT_IO, in main()
123 run->exit_reason, in main()
124 exit_reason_str(run->exit_reason)); in main()
Dvmx_tsc_adjust_test.c146 TEST_ASSERT(run->exit_reason == KVM_EXIT_IO, in main()
148 run->exit_reason, in main()
149 exit_reason_str(run->exit_reason)); in main()
Dsmm_test.c134 TEST_ASSERT(run->exit_reason == KVM_EXIT_IO, in main()
136 stage, run->exit_reason, in main()
137 exit_reason_str(run->exit_reason)); in main()
Dkvm_pv_test.c187 TEST_ASSERT(run->exit_reason == KVM_EXIT_IO, in enter_guest()
189 run->exit_reason, exit_reason_str(run->exit_reason)); in enter_guest()
Dvmx_preemption_timer_test.c189 TEST_ASSERT(run->exit_reason == KVM_EXIT_IO, in main()
191 stage, run->exit_reason, in main()
192 exit_reason_str(run->exit_reason)); in main()
Dstate_test.c187 TEST_ASSERT(run->exit_reason == KVM_EXIT_IO, in main()
189 stage, run->exit_reason, in main()
190 exit_reason_str(run->exit_reason)); in main()
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/s390x/
Dsync_regs_test.c132 TEST_ASSERT(run->exit_reason == KVM_EXIT_S390_SIEIC, in main()
134 run->exit_reason, in main()
135 exit_reason_str(run->exit_reason)); in main()
157 TEST_ASSERT(run->exit_reason == KVM_EXIT_S390_SIEIC, in main()
159 run->exit_reason, in main()
160 exit_reason_str(run->exit_reason)); in main()
182 TEST_ASSERT(run->exit_reason == KVM_EXIT_S390_SIEIC, in main()
184 run->exit_reason, in main()
185 exit_reason_str(run->exit_reason)); in main()
Dmemop.c67 TEST_ASSERT(run->exit_reason == KVM_EXIT_S390_SIEIC, in main()
69 run->exit_reason, in main()
70 exit_reason_str(run->exit_reason)); in main()
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/
Dset_memory_region_test.c72 if (run->exit_reason == KVM_EXIT_IO) { in vcpu_worker()
81 if (run->exit_reason != KVM_EXIT_MMIO) in vcpu_worker()
94 if (run->exit_reason == KVM_EXIT_IO && cmd == UCALL_ABORT) in vcpu_worker()
293 TEST_ASSERT(run->exit_reason == KVM_EXIT_SHUTDOWN || in test_delete_memory_region()
294 run->exit_reason == KVM_EXIT_INTERNAL_ERROR, in test_delete_memory_region()
295 "Unexpected exit reason = %d", run->exit_reason); in test_delete_memory_region()
303 if (run->exit_reason == KVM_EXIT_INTERNAL_ERROR) in test_delete_memory_region()
327 TEST_ASSERT(run->exit_reason == KVM_EXIT_INTERNAL_ERROR, in test_zero_memory_regions()
328 "Unexpected exit_reason = %u\n", run->exit_reason); in test_zero_memory_regions()
/kernel/linux/linux-5.10/arch/mips/kvm/
Dtrap_emul.c63 vcpu->run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_trap_emul_no_handler()
99 vcpu->run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_trap_emul_handle_cop_unusable()
104 vcpu->run->exit_reason = KVM_EXIT_INTR; in kvm_trap_emul_handle_cop_unusable()
126 vcpu->run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_mips_bad_load()
135 vcpu->run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_mips_bad_load()
143 vcpu->run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_mips_bad_load()
145 vcpu->run->exit_reason = KVM_EXIT_MMIO; in kvm_mips_bad_load()
161 vcpu->run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_mips_bad_store()
169 vcpu->run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_mips_bad_store()
171 vcpu->run->exit_reason = KVM_EXIT_MMIO; in kvm_mips_bad_store()
[all …]
Dvz.c838 vcpu->run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_trap_vz_no_handler()
1539 vcpu->run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_trap_vz_handle_guest_exit()
1581 vcpu->run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_trap_vz_handle_cop_unusable()
1610 vcpu->run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_trap_vz_handle_msa_disabled()
1632 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_trap_vz_handle_tlb_ld_miss()
1641 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_trap_vz_handle_tlb_ld_miss()
1650 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_trap_vz_handle_tlb_ld_miss()
1657 run->exit_reason = KVM_EXIT_MMIO; in kvm_trap_vz_handle_tlb_ld_miss()
1660 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_trap_vz_handle_tlb_ld_miss()
1688 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_trap_vz_handle_tlb_st_miss()
[all …]
/kernel/linux/linux-5.10/arch/arm64/kvm/
Dhandle_exit.c125 run->exit_reason = KVM_EXIT_DEBUG; in kvm_handle_guest_debug()
275 run->exit_reason = KVM_EXIT_FAIL_ENTRY; in handle_exit()
282 run->exit_reason = KVM_EXIT_FAIL_ENTRY; in handle_exit()
287 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in handle_exit()
Dmmio.c139 run->exit_reason = KVM_EXIT_ARM_NISV; in io_mem_abort()
193 run->exit_reason = KVM_EXIT_MMIO; in io_mem_abort()
/kernel/linux/linux-5.10/arch/x86/kvm/
Dtrace.h230 #define kvm_print_exit_reason(exit_reason, isa) \ argument
232 __print_symbolic(exit_reason & 0xffff, VMX_EXIT_REASONS) : \
233 __print_symbolic(exit_reason, SVM_EXIT_REASONS), \
234 (isa == KVM_ISA_VMX && exit_reason & ~0xffff) ? " " : "", \
236 __print_flags(exit_reason & ~0xffff, " ", VMX_EXIT_REASON_FLAGS) : ""
240 TP_PROTO(unsigned int exit_reason, struct kvm_vcpu *vcpu, u32 isa), \
241 TP_ARGS(exit_reason, vcpu, isa), \
244 __field( unsigned int, exit_reason ) \
255 __entry->exit_reason = exit_reason; \
268 kvm_print_exit_reason(__entry->exit_reason, __entry->isa), \
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/
Dvmx.c1661 to_vmx(vcpu)->exit_reason.basic != EXIT_REASON_EPT_MISCONFIG) { in skip_emulated_instruction()
4898 vcpu->run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in handle_exception_nmi()
4949 kvm_run->exit_reason = KVM_EXIT_DEBUG; in handle_exception_nmi()
4969 kvm_run->exit_reason = KVM_EXIT_EXCEPTION; in handle_exception_nmi()
4985 vcpu->run->exit_reason = KVM_EXIT_SHUTDOWN; in handle_triple_fault()
5119 vcpu->run->exit_reason = KVM_EXIT_SET_TPR; in handle_cr()
5153 vcpu->run->exit_reason = 0; in handle_cr()
5186 vcpu->run->exit_reason = KVM_EXIT_DEBUG; in handle_dr()
5500 vcpu->run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in handle_invalid_guest_state()
5781 if (!(vmx->exit_reason.failed_vmentry)) { in vmx_get_exit_info()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/x86_64/
Ducall.c46 if (run->exit_reason == KVM_EXIT_IO && run->io.port == UCALL_PIO_PORT) { in get_ucall()
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/s390x/
Ducall.c44 if (run->exit_reason == KVM_EXIT_S390_SIEIC && in get_ucall()

123