/openbmc/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | hyperv_extended_hypercalls.c | 70 TEST_ASSERT(run->exit_reason == KVM_EXIT_HYPERV, in main() 72 run->exit_reason, exit_reason_str(run->exit_reason)); in main() 80 TEST_ASSERT(run->exit_reason == KVM_EXIT_IO, in main() 82 run->exit_reason, exit_reason_str(run->exit_reason)); in main()
|
H A D | debug_regs.c | 108 TEST_ASSERT(run->exit_reason == KVM_EXIT_DEBUG && in main() 112 run->exit_reason, run->debug.arch.exception, in main() 125 TEST_ASSERT(run->exit_reason == KVM_EXIT_DEBUG && in main() 131 i, run->exit_reason, run->debug.arch.exception, in main() 148 TEST_ASSERT(run->exit_reason == KVM_EXIT_DEBUG && in main() 154 i, run->exit_reason, run->debug.arch.exception, in main() 174 TEST_ASSERT(run->exit_reason == KVM_EXIT_DEBUG && in main() 180 i, run->exit_reason, run->debug.arch.exception, in main() 192 TEST_ASSERT(run->exit_reason == KVM_EXIT_DEBUG && in main() 198 run->exit_reason, run->debug.arch.exception, in main()
|
H A D | xcr0_cpuid_test.c | 118 TEST_ASSERT(run->exit_reason == KVM_EXIT_IO, in main() 120 run->exit_reason, in main() 121 exit_reason_str(run->exit_reason)); in main()
|
H A D | fix_hypercall_test.c | 102 uc.cmd, run->exit_reason, exit_reason_str(run->exit_reason)); in enter_guest()
|
H A D | set_boot_cpu_id.c | 71 exit_reason_str(vcpu->run->exit_reason)); in run_vcpu()
|
/openbmc/linux/tools/testing/selftests/kvm/ |
H A D | guest_print_test.c | 118 TEST_ASSERT(run->exit_reason == UCALL_EXIT_REASON, in run_test() 120 run->exit_reason, exit_reason_str(run->exit_reason)); in run_test() 163 TEST_ASSERT(run->exit_reason == UCALL_EXIT_REASON, in test_limits() 165 run->exit_reason, exit_reason_str(run->exit_reason)); in test_limits()
|
H A D | set_memory_region_test.c | 68 if (run->exit_reason == KVM_EXIT_IO) { in vcpu_worker() 77 if (run->exit_reason != KVM_EXIT_MMIO) in vcpu_worker() 90 if (run->exit_reason == KVM_EXIT_IO && cmd == UCALL_ABORT) in vcpu_worker() 292 TEST_ASSERT(run->exit_reason == KVM_EXIT_SHUTDOWN || in test_delete_memory_region() 293 run->exit_reason == KVM_EXIT_INTERNAL_ERROR, in test_delete_memory_region() 294 "Unexpected exit reason = %d", run->exit_reason); in test_delete_memory_region() 302 if (run->exit_reason == KVM_EXIT_INTERNAL_ERROR) in test_delete_memory_region()
|
H A D | hardware_disable_test.c | 45 __func__, run->exit_reason, in run_vcpu() 46 exit_reason_str(run->exit_reason)); in run_vcpu()
|
H A D | dirty_log_test.c | 266 exit_reason_str(run->exit_reason)); in default_after_vcpu_run() 403 } else if (run->exit_reason == KVM_EXIT_DIRTY_RING_FULL || in dirty_ring_after_vcpu_run() 407 run->exit_reason == KVM_EXIT_DIRTY_RING_FULL); in dirty_ring_after_vcpu_run() 417 exit_reason_str(run->exit_reason)); in dirty_ring_after_vcpu_run()
|
/openbmc/linux/tools/testing/selftests/kvm/include/ |
H A D | test_util.h | 66 __u32 exit_reason = (vcpu)->run->exit_reason; \ 68 TEST_ASSERT(exit_reason == (expected), \ 71 exit_reason, exit_reason_str(exit_reason)); \
|
/openbmc/linux/arch/x86/coco/tdx/ |
H A D | tdx.c | 209 switch (ve->exit_reason) { in ve_instr_len() 226 WARN_ONCE(1, "Unexpected #VE-type: %lld\n", ve->exit_reason); in ve_instr_len() 573 if (ve.exit_reason != EXIT_REASON_IO_INSTRUCTION) in tdx_early_handle_ve() 606 ve->exit_reason = out.rcx; in tdx_get_ve_info() 622 switch (ve->exit_reason) { in virt_exception_user() 626 pr_warn("Unexpected #VE: %lld\n", ve->exit_reason); in virt_exception_user() 644 switch (ve->exit_reason) { in virt_exception_kernel() 660 pr_warn("Unexpected #VE: %lld\n", ve->exit_reason); in virt_exception_kernel()
|
/openbmc/linux/arch/arm64/kvm/ |
H A D | handle_exit.c | 171 run->exit_reason = KVM_EXIT_DEBUG; in kvm_handle_guest_debug() 348 run->exit_reason = KVM_EXIT_FAIL_ENTRY; in handle_exit() 355 run->exit_reason = KVM_EXIT_FAIL_ENTRY; in handle_exit() 360 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in handle_exit()
|
H A D | mmio.c | 140 run->exit_reason = KVM_EXIT_ARM_NISV; in io_mem_abort() 194 run->exit_reason = KVM_EXIT_MMIO; in io_mem_abort()
|
H A D | psci.c | 189 vcpu->run->exit_reason = KVM_EXIT_SYSTEM_EVENT; in kvm_prepare_system_event() 214 run->exit_reason = KVM_EXIT_SYSTEM_EVENT; in kvm_psci_system_suspend()
|
/openbmc/linux/arch/x86/include/asm/shared/ |
H A D | tdx.h | 102 static __always_inline u64 hcall_func(u64 exit_reason) in hcall_func() argument 104 return exit_reason; in hcall_func()
|
/openbmc/linux/arch/x86/kvm/vmx/ |
H A D | vmx.c | 1690 union vmx_exit_reason exit_reason = to_vmx(vcpu)->exit_reason; in skip_emulated_instruction() local 1725 WARN_ONCE(exit_reason.enclave_mode, in skip_emulated_instruction() 5530 vcpu->run->exit_reason = 0; in handle_cr() 6159 *reason = vmx->exit_reason.full; in vmx_get_exit_info() 6422 union vmx_exit_reason exit_reason = vmx->exit_reason; in __vmx_handle_exit() local 6491 if (exit_reason.failed_vmentry) { in __vmx_handle_exit() 6495 = exit_reason.full; in __vmx_handle_exit() 6587 exit_reason.full); in __vmx_handle_exit() 7273 vmx->exit_reason.full = 0xdead; in vmx_vcpu_enter_exit() 7311 vmx->exit_reason.failed_vmentry = 1; in vmx_vcpu_run() [all …]
|
/openbmc/linux/tools/testing/selftests/kvm/lib/s390x/ |
H A D | ucall.c | 13 if (run->exit_reason == KVM_EXIT_S390_SIEIC && in ucall_arch_get_ucall()
|
/openbmc/linux/tools/testing/selftests/kvm/lib/x86_64/ |
H A D | ucall.c | 49 if (run->exit_reason == KVM_EXIT_IO && run->io.port == UCALL_PIO_PORT) { in ucall_arch_get_ucall()
|
/openbmc/linux/arch/x86/kvm/ |
H A D | trace.h | 286 #define kvm_print_exit_reason(exit_reason, isa) \ argument 289 __print_symbolic(exit_reason, SVM_EXIT_REASONS), \ 290 (isa == KVM_ISA_VMX && exit_reason & ~0xffff) ? " " : "", \ 300 __field( unsigned int, exit_reason ) \ 315 &__entry->exit_reason, \ 1747 __field(u64, exit_reason) 1754 __entry->exit_reason = ghcb->save.sw_exit_code; 1760 __entry->vcpu_id, __entry->exit_reason, 1773 __field(u64, exit_reason) 1780 __entry->exit_reason = ghcb->save.sw_exit_code; [all …]
|
/openbmc/linux/tools/testing/selftests/kvm/lib/aarch64/ |
H A D | ucall.c | 26 if (run->exit_reason == KVM_EXIT_MMIO && in ucall_arch_get_ucall()
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | tdx.h | 31 u64 exit_reason; member
|
/openbmc/linux/tools/testing/selftests/kvm/aarch64/ |
H A D | smccc_filter.c | 212 TEST_ASSERT(run->exit_reason == KVM_EXIT_HYPERCALL, in expect_call_fwd_to_user() 213 "Unexpected exit reason: %u", run->exit_reason); in expect_call_fwd_to_user()
|
/openbmc/linux/tools/testing/selftests/kvm/lib/riscv/ |
H A D | ucall.c | 43 if (run->exit_reason == KVM_EXIT_RISCV_SBI && in ucall_arch_get_ucall()
|
/openbmc/qemu/target/i386/hvf/ |
H A D | hvf.c | 462 uint64_t exit_reason = rvmcs(cpu->accel->fd, VMCS_EXIT_REASON); in hvf_vcpu_exec() local 479 switch (exit_reason) { in hvf_vcpu_exec() 613 if (exit_reason == EXIT_REASON_RDMSR) { in hvf_vcpu_exec() 696 error_report("%llx: unhandled exit %llx", rip, exit_reason); in hvf_vcpu_exec()
|
/openbmc/linux/arch/mips/kvm/ |
H A 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() 1636 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_trap_vz_handle_tlb_ld_miss() 1645 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_trap_vz_handle_tlb_ld_miss() 1654 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_trap_vz_handle_tlb_ld_miss() 1661 run->exit_reason = KVM_EXIT_MMIO; in kvm_trap_vz_handle_tlb_ld_miss() 1664 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_trap_vz_handle_tlb_ld_miss() 1692 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_trap_vz_handle_tlb_st_miss() 1701 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_trap_vz_handle_tlb_st_miss() 1708 run->exit_reason = KVM_EXIT_MMIO; in kvm_trap_vz_handle_tlb_st_miss() [all …]
|