aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/kvm/lib/kvm_util.c
AgeCommit message (Expand)AuthorFilesLines
2022-06-11KVM: sefltests: Use vm_ioctl() and __vm_ioctl() helpersSean Christopherson1-104/+12
2022-06-11KVM: selftests: Make vm_ioctl() a wrapper to pretty print ioctl nameSean Christopherson1-20/+6
2022-06-11KVM: selftests: Add vcpu_get() to retrieve and assert on vCPU existenceSean Christopherson1-40/+16
2022-06-11KVM: selftests: Remove vcpu_get_fd()Sean Christopherson1-9/+0
2022-06-11KVM: selftests: Add __vcpu_run() helperSean Christopherson1-4/+2
2022-06-11KVM: sefltests: Use vcpu_ioctl() and __vcpu_ioctl() helpersSean Christopherson1-284/+2
2022-06-11KVM: selftests: Split vcpu_set_nested_state() into two helpersSean Christopherson1-10/+10
2022-06-11KVM: selftests: Drop @mode from common vm_create() helperSean Christopherson1-20/+22
2022-06-11KVM: selftests: Make vcpu_ioctl() a wrapper to pretty print ioctl nameSean Christopherson1-23/+8
2022-06-11KVM: selftests: Add another underscore to inner ioctl() helpersSean Christopherson1-12/+12
2022-06-11KVM: selftests: Always open VM file descriptors with O_RDWRSean Christopherson1-11/+9
2022-03-08KVM: selftests: Split out helper to allocate guest mem via memfdSean Christopherson1-18/+24
2022-03-08KVM: selftests: Move raw KVM_SET_USER_MEMORY_REGION helper to utilsSean Christopherson1-0/+24
2022-02-25KVM: selftests: Carve out helper to create "default" VM without vCPUsDavid Dunn1-6/+15
2022-01-26selftests: kvm: move vm_xsave_req_perm call to amx_testPaolo Bonzini1-7/+0
2022-01-19kvm: selftests: Do not indent with spacesPaolo Bonzini1-3/+5
2022-01-19kvm: selftests: conditionally build vm_xsave_req_perm()Wei Wang1-0/+2
2022-01-14kvm: selftests: Add support for KVM_CAP_XSAVE2Wei Wang1-0/+32
2022-01-07Merge tag 'kvmarm-5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/kvma...Paolo Bonzini1-0/+94
2022-01-04Merge branch kvm-arm64/selftest/irq-injection into kvmarm-master/nextMarc Zyngier1-0/+72
2021-12-28KVM: selftests: Add IRQ GSI routing library functionsRicardo Koller1-0/+51
2021-12-28KVM: selftests: Add kvm_irq_line library functionRicardo Koller1-0/+21
2021-12-28KVM: selftests: arm64: Add support for various modes with 16kB page sizeMarc Zyngier1-0/+16
2021-12-28KVM: selftests: arm64: Add support for VM_MODE_P36V48_{4K,64K}Marc Zyngier1-0/+6
2021-12-20selftests: KVM: Fix non-x86 compilingAndrew Jones1-0/+5
2021-12-10selftests: KVM: avoid failures due to reserved HyperTransport regionPaolo Bonzini1-1/+1
2021-11-16Merge branch 'kvm-selftest' into kvm-masterPaolo Bonzini1-20/+24
2021-11-16KVM: selftests: Require GPA to be aligned when backed by hugepagesSean Christopherson1-0/+2
2021-11-16KVM: selftests: Assert mmap HVA is aligned when using HugeTLBSean Christopherson1-0/+11
2021-11-16KVM: selftests: Expose align() helpers to testsSean Christopherson1-11/+2
2021-11-16KVM: selftests: Explicitly state indicies for vm_guest_mode_params arraySean Christopherson1-9/+9
2021-11-11selftest: KVM: Add open sev dev helperPeter Gonda1-10/+14
2021-10-22KVM: selftests: set CPUID before setting sregs in vcpu creationMichael Roth1-1/+1
2021-10-18selftests: KVM: Add helpers for vCPU device attributesOliver Upton1-0/+38
2021-10-18selftests: KVM: Fix kvm device helper ioctl assertionsOliver Upton1-3/+3
2021-07-14Merge tag 'kvm-s390-master-5.14-1' of git://git.kernel.org/pub/scm/linux/kern...Paolo Bonzini1-0/+5
2021-07-06KVM: selftests: introduce P44V64 for z196 and EC12Christian Borntraeger1-0/+5
2021-06-24KVM: selftests: Add selftest for KVM statistics data binary interfaceJing Zhang1-0/+12
2021-06-24KVM: selftests: Add wrapper to allocate page table pageSean Christopherson1-0/+8
2021-06-24KVM: selftests: Unconditionally use memslot '0' for page table allocationsSean Christopherson1-3/+3
2021-06-24KVM: selftests: Unconditionally use memslot 0 for vaddr allocationsSean Christopherson1-7/+5
2021-06-24KVM: selftests: Lower the min virtual address for misc page allocationsSean Christopherson1-1/+1
2021-06-24KVM: selftests: Add helpers to allocate N pages of virtual memorySean Christopherson1-0/+38
2021-06-24KVM: selftests: Unconditionally use memslot 0 when loading elf binarySean Christopherson1-1/+1
2021-06-24KVM: selftests: fix triple fault if ept=0 in dirty_log_testHou Wenlong1-4/+0
2021-06-17KVM: selftests: Fix kvm_check_cap() assertionFuad Tabba1-1/+1
2021-06-08selftests: kvm: Add support for customized slot0 memory sizeZhenzhong Duan1-9/+38
2021-06-08KVM: selftests: introduce P47V64 for s390xChristian Borntraeger1-0/+5
2021-05-27KVM: selftests: add shared hugetlbfs backing source typeAxel Rasmussen1-2/+7
2021-05-27KVM: selftests: create alias mappings when using shared memoryAxel Rasmussen1-0/+49