summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kvm/include/test_util.h
AgeCommit message (Expand)AuthorLines
2025-10-10KVM: selftests: Add wrapper macro to handle and assert on expected SIGBUSSean Christopherson-0/+19
2025-05-16KVM: selftests: access_tracking_perf_test: Add option to skip the sanity checkMaxim Levitsky-0/+1
2025-01-08KVM: selftests: Add printf attribute to _no_printf()Isaku Yamahata-1/+1
2024-04-29KVM: selftests: Provide an API for getting a random bool from an RNGSean Christopherson-0/+11
2024-04-29KVM: selftests: Provide a global pseudo-RNG instance for all testsSean Christopherson-0/+8
2024-02-26KVM: arm64: selftests: Split arch_timer test codeHaibo Xu-0/+2
2024-02-01KVM: selftests: Generalize check_clocksource() from kvm_clock_testVitaly Kuznetsov-0/+2
2023-12-01KVM: selftests: Annotate guest ucall, printf, and assert helpers with __printf()Sean Christopherson-1/+1
2023-11-14Merge branch 'kvm-guestmemfd' into HEADPaolo Bonzini-0/+5
2023-11-14KVM: selftests: Add support for creating private memslotsSean Christopherson-0/+5
2023-10-13selftests/kvm: Replace attribute with macroMaciej Wieczor-Retman-4/+4
2023-08-31Merge tag 'kvm-riscv-6.6-1' of https://github.com/kvm-riscv/linux into HEADPaolo Bonzini-0/+2
2023-08-08KVM: arm64: selftests: Replace str_with_index with strdup_printfAndrew Jones-0/+2
2023-08-02KVM: selftests: Add guest_snprintf() to KVM selftestsAaron Lewis-0/+3
2023-08-02KVM: selftests: Make TEST_ASSERT_EQ() output look like normal TEST_ASSERT()Sean Christopherson-8/+7
2023-08-02KVM: selftests: Rename the ASSERT_EQ macroThomas Huth-2/+2
2023-03-14KVM: selftests: Print expected and actual exit reason in KVM exit reason assertVipin Sharma-1/+2
2023-03-14KVM: selftests: Make vCPU exit reason test assertion commonVipin Sharma-0/+8
2022-11-16KVM: selftests: implement random number generator for guest codeColton Lewis-0/+7
2022-11-16KVM: selftests: Add atoi_positive() and atoi_non_negative() for input validationVipin Sharma-0/+16
2022-11-16KVM: selftests: Add atoi_paranoid() to catch errors missed by atoi()Vipin Sharma-0/+2
2022-09-30KVM: selftests: Tell the compiler that code after TEST_FAIL() is unreachableDavid Matlack-2/+4
2022-06-11KVM: selftests: Use TAP-friendly ksft_exit_skip() in __TEST_REQUIRESean Christopherson-6/+4
2022-06-11KVM: selftests: Add TEST_REQUIRE macros to reduce skipping copy+pasteSean Christopherson-0/+9
2021-11-16KVM: selftests: Assert mmap HVA is aligned when using HugeTLBSean Christopherson-0/+1
2021-11-16KVM: selftests: Expose align() helpers to testsSean Christopherson-0/+25
2021-09-27Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds-1/+3
2021-09-22KVM: selftests: Refactor help message for -s backing_srcDavid Matlack-1/+3
2021-09-16selftests: kvm: fix get_run_delay() ignoring fscanf() return warnShuah Khan-0/+2
2021-09-16selftests: kvm: move get_run_delay() into lib/test_utilShuah Khan-0/+1
2021-05-27KVM: selftests: add shared hugetlbfs backing source typeAxel Rasmussen-0/+11
2021-05-27KVM: selftests: add shmem backing source typeAxel Rasmussen-0/+1
2021-04-20KVM: selftests: List all hugetlb src types specified with page sizesYanan Wang-1/+17
2021-04-20KVM: selftests: Add a helper to get system default hugetlb page sizeYanan Wang-0/+1
2021-04-20KVM: selftests: Add a helper to get system configured THP page sizeYanan Wang-0/+2
2021-02-04KVM: selftests: Add backing src parameter to dirty_log_perf_testBen Gardon-0/+14
2021-02-04KVM: selftests: Rename timespec_diff_now to timespec_elapsedBen Gardon-1/+1
2020-11-08KVM: selftests: Introduce the dirty log perf testBen Gardon-0/+1
2020-11-08KVM: selftests: Simplify demand_paging_test with timespec_diff_nowBen Gardon-0/+1
2020-03-18KVM: selftests: Rework timespec functions and usageAndrew Jones-1/+2
2020-03-16selftests: kvm: Introduce the TEST_FAIL macroWainer dos Santos Moschetta-0/+3
2020-03-16KVM: selftests: Introduce steal-time testAndrew Jones-0/+1
2020-03-16KVM: selftests: Use consistent message for test skippingAndrew Jones-0/+2
2020-03-16KVM: selftests: Enable printf format warnings for TEST_ASSERTAndrew Jones-1/+2
2020-03-16KVM: selftests: Rework debug message printingAndrew Jones-0/+13
2020-03-16KVM: selftests: Time guest demand pagingBen Gardon-0/+3
2020-03-16KVM: selftests: Add memory size parameter to the demand paging testBen Gardon-0/+2
2019-06-19treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 482Thomas Gleixner-3/+1
2018-10-17kvm: selftests: move arch-specific files to arch-specific locationsAndrew Jones-3/+3
2018-08-22kvm: selftest: include the tools headersPeter Xu-2/+0