Home
last modified time | relevance | path

Searched refs:__GUEST_ASSERT (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/tools/testing/selftests/kvm/x86_64/
H A Dxcr0_cpuid_test.c26 __GUEST_ASSERT((__supported & (xfeatures)) != (xfeatures) || \
44 __GUEST_ASSERT(!__supported || __supported == (xfeatures), \
83 __GUEST_ASSERT(!vector, in guest_code()
92 __GUEST_ASSERT(vector == GP_VECTOR, in guest_code()
H A Dmonitor_mwait_test.c29 __GUEST_ASSERT((vector) == UD_VECTOR, \
32 __GUEST_ASSERT(!(vector), \
H A Dhyperv_features.c56 __GUEST_ASSERT(vector == GP_VECTOR, in guest_msr()
60 __GUEST_ASSERT(!vector, in guest_msr()
68 __GUEST_ASSERT(!vector, in guest_msr()
104 __GUEST_ASSERT(vector == UD_VECTOR, in guest_hcall()
108 __GUEST_ASSERT(!vector, in guest_hcall()
H A Dsvm_nested_soft_inject_test.c105 __GUEST_ASSERT(vmcb->control.exit_code == SVM_EXIT_VMMCALL, in l1_guest_code()
135 __GUEST_ASSERT(vmcb->control.exit_code == SVM_EXIT_HLT, in l1_guest_code()
H A Duserspace_io_test.c46 __GUEST_ASSERT(buffer[i] == 0xaa, in guest_code()
H A Dvmx_pmu_caps_test.c58 __GUEST_ASSERT(vector == GP_VECTOR, in guest_test_perf_capabilities_gp()
/openbmc/linux/tools/testing/selftests/kvm/include/
H A Ducall_common.h73 #define __GUEST_ASSERT(_condition, _fmt, _args...) \ macro
77 __GUEST_ASSERT(_condition, #_condition)
/openbmc/linux/tools/testing/selftests/kvm/
H A Dset_memory_region_test.c159 __GUEST_ASSERT(val == 1 || val == MMIO_VAL, in guest_code_move_memory_region()
164 __GUEST_ASSERT(val == 1 || val == 0, in guest_code_move_memory_region()
169 __GUEST_ASSERT(val == 1 || val == MMIO_VAL, in guest_code_move_memory_region()
H A Dguest_print_test.c75 __GUEST_ASSERT(vals.a == vals.b, \ in guest_code()
/openbmc/linux/tools/testing/selftests/kvm/aarch64/
H A Dhypercalls.c107 __GUEST_ASSERT(res.a0 == SMCCC_RET_NOT_SUPPORTED, in guest_test_hvc()
112 __GUEST_ASSERT(res.a0 != SMCCC_RET_NOT_SUPPORTED, in guest_test_hvc()
H A Darch_timer.c160 __GUEST_ASSERT(xcnt >= cval, in guest_validate_irq()
163 __GUEST_ASSERT(xctl & CTL_ISTATUS, "xcnt = 0x%llx", xcnt); in guest_validate_irq()
H A Ddebug-exceptions.c368 __GUEST_ASSERT(ss_idx < 4, "Expected index < 4, got '%u'", ss_idx); in guest_ss_handler()
/openbmc/linux/tools/testing/selftests/kvm/s390x/
H A Dtprot.c158 __GUEST_ASSERT(result == tests[*i].expected, in perform_next_stage()