Home
last modified time | relevance | path

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

/Linux-v6.1/tools/testing/selftests/kvm/include/
Dtest_util.h37 #define __TEST_REQUIRE(f, fmt, ...) \ macro
43 #define TEST_REQUIRE(f) __TEST_REQUIRE(f, "Requirement not met: %s", #f)
/Linux-v6.1/tools/testing/selftests/kvm/
Dkvm_create_max_vcpus.c67 __TEST_REQUIRE(r >= 0, in main()
Daccess_tracking_perf_test.c108 __TEST_REQUIRE(pfn, "Looking up PFNs requires CAP_SYS_ADMIN"); in lookup_pfn()
387 __TEST_REQUIRE(page_idle_fd >= 0, in main()
Dsystem_counter_offset_test.c31 __TEST_REQUIRE(!__vcpu_has_device_attr(vcpu, KVM_VCPU_TSC_CTRL, in check_preconditions()
Drseq_test.c197 __TEST_REQUIRE(cnt >= 2, in calc_min_max_cpu()
/Linux-v6.1/tools/testing/selftests/kvm/x86_64/
Dvmx_pmu_caps_test.c76 __TEST_REQUIRE(eax.split.version_id, "PMU is not supported by the vCPU"); in main()
Dnx_huge_pages_test.c262 __TEST_REQUIRE(token == MAGIC_TOKEN, in main()
/Linux-v6.1/tools/testing/selftests/kvm/aarch64/
Darch_timer.c381 __TEST_REQUIRE(gic_fd >= 0, "Failed to create vgic-v3"); in test_vm_create()
471 __TEST_REQUIRE(!test_args.migration_freq_ms || get_nprocs() >= 2, in main()
Ddebug-exceptions.c419 __TEST_REQUIRE(debug_version(vcpu) >= 6, in main()
Dvgic_irq.c771 __TEST_REQUIRE(gic_fd >= 0, "Failed to create vgic-v3, skipping"); in test_vgic()
Dget-reg-list.c401 __TEST_REQUIRE(kvm_has_cap(s->capability), in check_supported()
/Linux-v6.1/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c626 __TEST_REQUIRE(0, "KVM_X86_XCOMP_GUEST_SUPP not supported"); in __vm_xsave_require_permission()
630 __TEST_REQUIRE(bitmask & (1ULL << bit), in __vm_xsave_require_permission()
/Linux-v6.1/tools/testing/selftests/kvm/lib/
Dkvm_util.c29 __TEST_REQUIRE(fd >= 0, "%s not available (errno: %d)", path, errno); in open_path_or_exit()