aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/kvm/lib/kvm_util.c (follow)
AgeCommit message (Expand)AuthorFilesLines
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/kvmarm/kvmarm into HEADPaolo 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
2022-12-09KVM: arm64: selftests: Align VA space allocator with TTBR0Oliver Upton1-5/+10
2022-12-09Merge tag 'kvmarm-6.2' of https://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEADPaolo Bonzini1-31/+53
2022-12-05Merge branch kvm-arm64/dirty-ring into kvmarm-master/nextMarc Zyngier1-1/+1
2022-11-18KVM: selftests: Export vm_vaddr_unused_gap() to make it possible to request unmapped rangesVitaly Kuznetsov1-2/+2
2022-11-18KVM: selftests: Fill in vm->vpages_mapped bitmap in virt_map() tooVitaly Kuznetsov1-2/+3
2022-11-16KVM: selftests: Add arch specific post vm creation hookVishal Annapurve1-3/+5
2022-11-16KVM: selftests: Add arch specific initializationVishal Annapurve1-0/+6
2022-11-16KVM: selftests: move common startup logic to kvm_util.cVishal Annapurve1-0/+6
2022-11-16KVM: selftests: Automatically do init_ucall() for non-barebones VMsSean Christopherson1-0/+11
2022-11-16KVM: selftests: Allowing running dirty_log_perf_test on specific CPUsVipin Sharma1-0/+54
2022-11-10KVM: selftests: Use the right memslot for code, page-tables, and data allocationsRicardo Koller1-22/+35
2022-11-10KVM: selftests: Add vm->memslots[] and enum kvm_mem_region_typeRicardo Koller1-8/+10
2022-11-10KVM: selftests: Stash backing_src_type in struct userspace_mem_regionRicardo Koller1-0/+1
2022-11-10KVM: selftests: Add missing close and munmap in __vm_mem_region_delete()Ricardo Koller1-0/+6
2022-11-10KVM: selftests: Use host page size to map ring buffer in dirty_log_testGavin Shan1-1/+1
2022-10-03Merge tag 'kvmarm-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEADPaolo Bonzini1-1/+4
2022-09-30KVM: selftests: Add helpers to read kvm_{intel,amd} boolean module parametersDavid Matlack1-0/+39
2022-09-29KVM: selftests: dirty-log: Use KVM_CAP_DIRTY_LOG_RING_ACQ_REL if availableMarc Zyngier1-1/+4
2022-07-13KVM: selftests: Cache CPUID in struct kvm_vcpuSean Christopherson1-0/+7
2022-07-13KVM: selftests: Set KVM's supported CPUID as vCPU's CPUID during recreateSean Christopherson1-2/+8