/Linux-v4.19/tools/testing/selftests/kvm/ |
D | sync_regs_test.c | 135 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 …]
|
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() 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()
|
D | vmx_tsc_adjust_test.c | 153 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()
|
D | state_test.c | 151 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()
|
D | dirty_log_test.c | 128 if (run->exit_reason == KVM_EXIT_IO && in vcpu_worker() 136 exit_reason_str(run->exit_reason)); in vcpu_worker()
|
D | cr4_cpuid_sync_test.c | 89 if (run->exit_reason == KVM_EXIT_IO) { in main()
|
/Linux-v4.19/virt/kvm/arm/ |
D | trace.h | 29 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),
|
D | arm.c | 671 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()
|
D | mmio.c | 215 run->exit_reason = KVM_EXIT_MMIO; in io_mem_abort()
|
D | psci.c | 223 vcpu->run->exit_reason = KVM_EXIT_SYSTEM_EVENT; in kvm_prepare_system_event()
|
/Linux-v4.19/arch/mips/kvm/ |
D | trap_emul.c | 63 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 …]
|
D | vz.c | 861 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 …]
|
D | mips.c | 1282 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/ |
D | handle_exit.c | 136 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()
|
D | debug.c | 254 run->exit_reason = KVM_EXIT_DEBUG; in kvm_arm_handle_step_debug()
|
/Linux-v4.19/arch/arm/kvm/ |
D | handle_exit.c | 179 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/ |
D | vmx.c | 1011 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 …]
|
D | trace.h | 226 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/ |
D | book3s_pr.c | 764 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()
|
D | emulate.c | 285 run->exit_reason = KVM_EXIT_DEBUG; in kvmppc_emulate_instruction()
|
D | book3s_hv.c | 986 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 …]
|
D | powerpc.c | 100 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()
|
D | booke.c | 730 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/ |
D | kvm_util.h | 116 const char *exit_reason_str(unsigned int exit_reason);
|
/Linux-v4.19/arch/s390/kvm/ |
D | diag.c | 195 vcpu->run->exit_reason = KVM_EXIT_S390_RESET; in __diag_ipl_functions()
|