summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/kvm/lib/kvm_util.c
AgeCommit message (Expand)AuthorFilesLines
2025-04-04selftests: kvm: bring list of exit reasons up to datePaolo Bonzini1-3/+2
2025-02-14KVM: selftests: Add infrastructure for getting vCPU binary statsSean Christopherson1-19/+13
2025-02-14KVM: selftests: Adjust number of files rlimit for all "standard" VMsSean Christopherson1-0/+34
2025-02-14KVM: selftests: Get VM's binary stats FD when opening VMSean Christopherson1-4/+11
2025-02-14KVM: selftests: Add struct and helpers to wrap binary stats cacheSean Christopherson1-20/+27
2025-02-14KVM: selftests: Assert that __vm_get_stat() actually finds a statSean Christopherson1-2/+3
2025-02-12KVM: selftests: Close VM's binary stats FD when releasing VMSean Christopherson1-6/+9
2025-02-12KVM: selftests: Fix mostly theoretical leak of VM's binary stats FDSean Christopherson1-2/+2
2024-12-18KVM: selftests: Check for a potential unhandled exception iff KVM_RUN succeededSean Christopherson1-1/+2
2024-11-11KVM: selftests: Don't bother deleting memslots in KVM when freeing VMsSean Christopherson1-4/+6
2024-08-29KVM: selftests: Always unlink memory regions when deleting (VM free)Sean Christopherson1-9/+6
2024-08-29KVM: selftests: Remove unused kvm_memcmp_hva_gva()Sean Christopherson1-70/+0
2024-06-27KVM: selftests: Print the seed for the guest pRNG iff it has changedSean Christopherson1-2/+7
2024-05-12Merge tag 'kvm-x86-selftests_utils-6.10' of https://github.com/kvm-x86/linux ...Paolo Bonzini1-2/+10
2024-05-12Merge tag 'kvm-x86-selftests-6.10' of https://github.com/kvm-x86/linux into HEADPaolo Bonzini1-0/+8
2024-05-02KVM: selftests: Require KVM_CAP_USER_MEMORY2 for tests that create memslotsSean Christopherson1-0/+8
2024-04-29Revert "kvm: selftests: move base kvm_util.h declarations to kvm_util_base.h"Sean Christopherson1-0/+1
2024-04-29KVM: selftests: Provide a global pseudo-RNG instance for all testsSean Christopherson1-0/+9
2024-04-29KVM: selftests: Define _GNU_SOURCE for all selftests codeSean Christopherson1-2/+0
2024-04-11selftests: kvm: switch to using KVM_X86_*_VMPaolo Bonzini1-1/+0
2024-03-11Merge tag 'kvm-x86-pmu-6.9' of https://github.com/kvm-x86/linux into HEADPaolo Bonzini1-6/+56
2024-03-11Merge tag 'kvm-x86-selftests-6.9' of https://github.com/kvm-x86/linux into HEADPaolo Bonzini1-9/+58
2024-02-28KVM: selftests: Add library for creating and interacting with SEV guestsPeter Gonda1-0/+1
2024-02-28KVM: selftests: Allow tagging protected memory in guest page tablesPeter Gonda1-0/+17
2024-02-28KVM: selftests: Add support for protected vm_vaddr_* allocationsMichael Roth1-5/+21
2024-02-28KVM: selftests: Add support for allocating/managing protected guest memoryPeter Gonda1-4/+18
2024-02-28KVM: selftests: Extend VM creation's @shape to allow control of VM subtypeSean Christopherson1-0/+1
2024-01-30KVM: selftests: Add helpers to read integer module paramsSean Christopherson1-6/+56
2024-01-30KVM: selftests: Fail tests when open() fails with !ENOENTVitaly Kuznetsov1-1/+2
2024-01-29KVM: selftests: Remove redundant newlinesAndrew Jones1-8/+8
2024-01-08Merge tag 'kvmarm-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmar...Paolo Bonzini1-0/+3
2023-11-29KVM: selftests: Add logic to detect if ioctl() failed because VM was killedSean Christopherson1-1/+1
2023-11-27KVM: selftests: arm64: Support P52V48 4K and 16K guest_modesRyan Roberts1-0/+3
2023-11-14KVM: selftests: Add KVM_SET_USER_MEMORY_REGION2 helperChao Peng1-0/+29
2023-11-14KVM: selftests: Introduce VM "shape" to allow tests to specify the VM typeSean Christopherson1-21/+22
2023-11-14KVM: selftests: Add helpers to convert guest memory b/w private and sharedVishal Annapurve1-0/+28
2023-11-14KVM: selftests: Add support for creating private memslotsSean Christopherson1-31/+45
2023-11-14KVM: selftests: Convert lib's mem regions to KVM_SET_USER_MEMORY_REGION2Sean Christopherson1-9/+10
2023-11-14KVM: selftests: Drop unused kvm_userspace_memory_region_find() helperSean Christopherson1-29/+0
2023-08-02KVM: selftests: Add additional pages to the guest to accommodate ucallAaron Lewis1-0/+4
2023-08-02KVM: selftests: Rename the ASSERT_EQ macroThomas Huth1-1/+1
2023-06-06KVM: selftests: Allow specify physical cpu list in demand paging testPeter Xu1-0/+17
2023-03-24KVM: selftests: Add a helper to read kvm boolean module parametersLike Xu1-0/+5
2023-03-14KVM: selftests: Sync KVM exit reasons in selftestsVipin Sharma1-2/+15
2023-03-14KVM: selftests: Add macro to generate KVM exit reason stringsSean Christopherson1-26/+28
2023-02-15Merge tag 'kvm-x86-selftests-6.3' of https://github.com/kvm-x86/linux into HEADPaolo Bonzini1-3/+0
2023-02-08KVM: selftests: Remove duplicate macro definitionShaoqin Huang1-3/+0
2023-02-01KVM: selftests: Test Hyper-V extended hypercall exit to userspaceVipin Sharma1-0/+1
2022-12-27KVM: selftests: Mark correct page as mapped in virt_map()Oliver Upton1-2/+2
2022-12-27KVM: selftests: document the default implementation of vm_vaddr_populate_bitmapPaolo Bonzini1-0/+9