/kernel/linux/linux-5.10/tools/testing/selftests/kvm/x86_64/ |
D | sync_regs_test.c | 141 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 …]
|
D | debug_regs.c | 96 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 …]
|
D | platform_info_test.c | 55 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()
|
D | vmx_apic_access_test.c | 109 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()
|
D | vmx_close_while_nested_test.c | 71 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()
|
D | svm_vmcall_test.c | 57 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()
|
D | cr4_cpuid_sync_test.c | 91 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()
|
D | evmcs_test.c | 115 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()
|
D | vmx_dirty_log_test.c | 121 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()
|
D | vmx_tsc_adjust_test.c | 146 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()
|
D | smm_test.c | 134 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()
|
D | kvm_pv_test.c | 187 TEST_ASSERT(run->exit_reason == KVM_EXIT_IO, in enter_guest() 189 run->exit_reason, exit_reason_str(run->exit_reason)); in enter_guest()
|
D | vmx_preemption_timer_test.c | 189 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()
|
D | state_test.c | 187 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/ |
D | sync_regs_test.c | 132 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()
|
D | memop.c | 67 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/ |
D | set_memory_region_test.c | 72 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/ |
D | trap_emul.c | 63 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 …]
|
D | vz.c | 838 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/ |
D | handle_exit.c | 125 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()
|
D | mmio.c | 139 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/ |
D | trace.h | 230 #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/ |
D | vmx.c | 1661 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/ |
D | ucall.c | 46 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/ |
D | ucall.c | 44 if (run->exit_reason == KVM_EXIT_S390_SIEIC && in get_ucall()
|