summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kvm/lib/kvm_util.c
Commit message (Expand)AuthorAgeFilesLines
* Merge tag 'kvm-x86-selftests_utils-6.10' of https://github.com/kvm-x86/linux ...Paolo Bonzini2024-05-121-2/+10
|\
| * Revert "kvm: selftests: move base kvm_util.h declarations to kvm_util_base.h"Sean Christopherson2024-04-291-0/+1
| * KVM: selftests: Provide a global pseudo-RNG instance for all testsSean Christopherson2024-04-291-0/+9
| * KVM: selftests: Define _GNU_SOURCE for all selftests codeSean Christopherson2024-04-291-2/+0
* | Merge tag 'kvm-x86-selftests-6.10' of https://github.com/kvm-x86/linux into HEADPaolo Bonzini2024-05-121-0/+8
|\ \ | |/ |/|
| * KVM: selftests: Require KVM_CAP_USER_MEMORY2 for tests that create memslotsSean Christopherson2024-05-021-0/+8
* | selftests: kvm: switch to using KVM_X86_*_VMPaolo Bonzini2024-04-111-1/+0
|/
* Merge tag 'kvm-x86-pmu-6.9' of https://github.com/kvm-x86/linux into HEADPaolo Bonzini2024-03-111-6/+56
|\
| * KVM: selftests: Add helpers to read integer module paramsSean Christopherson2024-01-301-6/+56
* | Merge tag 'kvm-x86-selftests-6.9' of https://github.com/kvm-x86/linux into HEADPaolo Bonzini2024-03-111-9/+58
|\ \
| * | KVM: selftests: Add library for creating and interacting with SEV guestsPeter Gonda2024-02-281-0/+1
| * | KVM: selftests: Allow tagging protected memory in guest page tablesPeter Gonda2024-02-281-0/+17
| * | KVM: selftests: Add support for protected vm_vaddr_* allocationsMichael Roth2024-02-281-5/+21
| * | KVM: selftests: Add support for allocating/managing protected guest memoryPeter Gonda2024-02-281-4/+18
| * | KVM: selftests: Extend VM creation's @shape to allow control of VM subtypeSean Christopherson2024-02-281-0/+1
| |/
* | KVM: selftests: Fail tests when open() fails with !ENOENTVitaly Kuznetsov2024-01-301-1/+2
* | KVM: selftests: Remove redundant newlinesAndrew Jones2024-01-291-8/+8
|/
* Merge tag 'kvmarm-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmar...Paolo Bonzini2024-01-081-0/+3
|\
| * KVM: selftests: arm64: Support P52V48 4K and 16K guest_modesRyan Roberts2023-11-271-0/+3
* | KVM: selftests: Add logic to detect if ioctl() failed because VM was killedSean Christopherson2023-11-291-1/+1
* | KVM: selftests: Add KVM_SET_USER_MEMORY_REGION2 helperChao Peng2023-11-141-0/+29
* | KVM: selftests: Introduce VM "shape" to allow tests to specify the VM typeSean Christopherson2023-11-141-21/+22
* | KVM: selftests: Add helpers to convert guest memory b/w private and sharedVishal Annapurve2023-11-141-0/+28
* | KVM: selftests: Add support for creating private memslotsSean Christopherson2023-11-141-31/+45
* | KVM: selftests: Convert lib's mem regions to KVM_SET_USER_MEMORY_REGION2Sean Christopherson2023-11-141-9/+10
* | KVM: selftests: Drop unused kvm_userspace_memory_region_find() helperSean Christopherson2023-11-141-29/+0
|/
* KVM: selftests: Add additional pages to the guest to accommodate ucallAaron Lewis2023-08-021-0/+4
* KVM: selftests: Rename the ASSERT_EQ macroThomas Huth2023-08-021-1/+1
* KVM: selftests: Allow specify physical cpu list in demand paging testPeter Xu2023-06-061-0/+17
* KVM: selftests: Add a helper to read kvm boolean module parametersLike Xu2023-03-241-0/+5
* KVM: selftests: Sync KVM exit reasons in selftestsVipin Sharma2023-03-141-2/+15
* KVM: selftests: Add macro to generate KVM exit reason stringsSean Christopherson2023-03-141-26/+28
* Merge tag 'kvm-x86-selftests-6.3' of https://github.com/kvm-x86/linux into HEADPaolo Bonzini2023-02-151-3/+0
|\
| * KVM: selftests: Remove duplicate macro definitionShaoqin Huang2023-02-081-3/+0
* | KVM: selftests: Test Hyper-V extended hypercall exit to userspaceVipin Sharma2023-02-011-0/+1
|/
* KVM: selftests: Mark correct page as mapped in virt_map()Oliver Upton2022-12-271-2/+2
* KVM: selftests: document the default implementation of vm_vaddr_populate_bitmapPaolo Bonzini2022-12-271-0/+9
* KVM: arm64: selftests: Align VA space allocator with TTBR0Oliver Upton2022-12-091-5/+10
* Merge tag 'kvmarm-6.2' of https://git.kernel.org/pub/scm/linux/kernel/git/kvm...Paolo Bonzini2022-12-091-31/+53
|\
| * Merge branch kvm-arm64/dirty-ring into kvmarm-master/nextMarc Zyngier2022-12-051-1/+1
| |\
| | * KVM: selftests: Use host page size to map ring buffer in dirty_log_testGavin Shan2022-11-101-1/+1
| * | KVM: selftests: Use the right memslot for code, page-tables, and data allocat...Ricardo Koller2022-11-101-22/+35
| * | KVM: selftests: Add vm->memslots[] and enum kvm_mem_region_typeRicardo Koller2022-11-101-8/+10
| * | KVM: selftests: Stash backing_src_type in struct userspace_mem_regionRicardo Koller2022-11-101-0/+1
| * | KVM: selftests: Add missing close and munmap in __vm_mem_region_delete()Ricardo Koller2022-11-101-0/+6
| |/
* | KVM: selftests: Export vm_vaddr_unused_gap() to make it possible to request u...Vitaly Kuznetsov2022-11-181-2/+2
* | KVM: selftests: Fill in vm->vpages_mapped bitmap in virt_map() tooVitaly Kuznetsov2022-11-181-2/+3
* | KVM: selftests: Add arch specific post vm creation hookVishal Annapurve2022-11-161-3/+5
* | KVM: selftests: Add arch specific initializationVishal Annapurve2022-11-161-0/+6
* | KVM: selftests: move common startup logic to kvm_util.cVishal Annapurve2022-11-161-0/+6