Home
last modified time | relevance | path

Searched refs:GUEST_ASSERT (Results 1 – 25 of 46) sorted by relevance

12

/linux/tools/testing/selftests/kvm/lib/aarch64/
H A Dgic.c
H A Dgic_v3.c
/linux/tools/testing/selftests/kvm/x86_64/
H A Dhyperv_evmcs.c
H A Dhyperv_ipi.c
H A Dhyperv_clock.c
H A Duserspace_msr_exit_test.c
H A Dvmx_preemption_timer_test.c
H A Dvmx_tsc_adjust_test.c
H A Dhyperv_svm_test.c
H A Dvmx_apic_access_test.c
H A Dtriple_fault_event_test.c
H A Dvmx_invalid_nested_guest_state.c
H A Dfix_hypercall_test.c
H A Dvmx_close_while_nested_test.c
H A Dvmx_dirty_log_test.c
H A Dvmx_nested_tsc_scaling_test.c
H A Dsvm_int_ctl_test.c
H A Dxen_shinfo_test.c
H A Dxen_vmcall_test.c
/linux/tools/testing/selftests/kvm/lib/x86_64/
H A Dmemstress.c
/linux/tools/testing/selftests/kvm/
H A Dsteal_time.c37 GUEST_ASSERT(!(READ_ONCE(st->version) & 1)); in check_status()
59 GUEST_ASSERT(version < READ_ONCE(st->version)); in guest_code()
233 GUEST_ASSERT(ret.value == 0 && ret.error == 0); in sta_set_shmem()
238 GUEST_ASSERT(!(READ_ONCE(st->sequence) & 1)); in check_status()
239 GUEST_ASSERT(READ_ONCE(st->flags) == 0); in check_status()
240 GUEST_ASSERT(READ_ONCE(st->preempted) == 0); in check_status()
251 GUEST_ASSERT(probe && out_val == 1); in guest_code()
263 GUEST_ASSERT(sequence < READ_ONCE(st->sequence)); in guest_code()
/linux/tools/testing/selftests/kvm/riscv/
H A Dsbi_pmu_test.c151 GUEST_ASSERT(overflown_mask & 0x01); in guest_irq_handler()
169 GUEST_ASSERT(ret.value < RISCV_MAX_PMU_COUNTERS); in get_counter_index()
170 GUEST_ASSERT(BIT(ret.value) & counter_mask_available); in get_counter_index()
205 GUEST_ASSERT(counter_mask_available > 0); in update_counter_info()
213 GUEST_ASSERT(ret.error == 0); in read_fw_counter()
237 GUEST_ASSERT(probe && out_val == 1); in verify_sbi_requirement_assert()
254 GUEST_ASSERT(ret.value == 0 && ret.error == 0); in snapshot_set_shmem()
422 GUEST_ASSERT(probe && out_val == 1); in test_pmu_basic_sanity()
443 GUEST_ASSERT(illegal_handler_invoked); in test_pmu_basic_sanity()
/linux/tools/testing/selftests/kvm/x86/
H A Dsev_smoke_test.c22 GUEST_ASSERT(rdmsr(MSR_AMD64_SEV) & MSR_AMD64_SEV_ENABLED); in guest_sev_es_code()
23 GUEST_ASSERT(rdmsr(MSR_AMD64_SEV) & MSR_AMD64_SEV_ES_ENABLED); in guest_sev_es_code()
35 GUEST_ASSERT(this_cpu_has(X86_FEATURE_SEV)); in guest_sev_code()
36 GUEST_ASSERT(rdmsr(MSR_AMD64_SEV) & MSR_AMD64_SEV_ENABLED); in guest_sev_code()
/linux/tools/testing/selftests/kvm/aarch64/
H A Dvgic_irq.c
/linux/tools/testing/selftests/kvm/lib/
H A Dguest_sprintf.c8 GUEST_ASSERT(str < end); \
136 GUEST_ASSERT(buf < end); in guest_vsnprintf()
137 GUEST_ASSERT(n > 0); in guest_vsnprintf()
299 GUEST_ASSERT(str < end); in guest_vsnprintf()

12