summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kvm/lib/kvm_util.c
AgeCommit message (Expand)AuthorFilesLines
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/kvm...Paolo 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 u...Vitaly 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 allocat...Ricardo 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/kvmar...Paolo 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
2022-06-24KVM: selftests: Cache binary stats metadata for duration of testBen Gardon1-15/+17
2022-06-24KVM: selftests: Add NX huge pages testBen Gardon1-0/+46
2022-06-24KVM: selftests: Read binary stat data in libBen Gardon1-0/+35
2022-06-24KVM: selftests: Read binary stats desc in libBen Gardon1-0/+33
2022-06-15KVM: selftests: Remove the mismatched parameter commentsShaoqin Huang1-3/+0
2022-06-14KVM: selftests: Drop a duplicate TEST_ASSERT() in vm_nr_pages_required()Sean Christopherson1-4/+0
2022-06-14KVM: selftests: Add a missing apostrophe in comment to show ownershipSean Christopherson1-1/+1
2022-06-11KVM: selftests: Sanity check input to ioctls() at build timeSean Christopherson1-27/+2
2022-06-11KVM: selftests: Add TEST_REQUIRE macros to reduce skipping copy+pasteSean Christopherson1-8/+2
2022-06-11KVM: selftests: Add kvm_has_cap() to provide syntactic sugarSean Christopherson1-2/+2
2022-06-11KVM: selftests: Return an 'unsigned int' from kvm_check_cap()Sean Christopherson1-1/+1
2022-06-11KVM: selftests: Drop DEFAULT_GUEST_PHY_PAGES, open code the magic numberSean Christopherson1-1/+7
2022-06-11KVM: selftests: Move per-VM/per-vCPU nr pages calculation to __vm_create()Sean Christopherson1-19/+38
2022-06-11KVM: selftests: Drop @num_percpu_pages from __vm_create_with_vcpus()Sean Christopherson1-4/+3
2022-06-11KVM: selftests: Drop @slot0_mem_pages from __vm_create_with_vcpus()Sean Christopherson1-14/+7
2022-06-11KVM: selftests: Open code and drop 'struct kvm_vm' accessorsSean Christopherson1-25/+0
2022-06-11KVM: selftests: Remove vcpu_state() helperSean Christopherson1-18/+1
2022-06-11KVM: selftests: Drop vcpu_get(), rename vcpu_find() => vcpu_exists()Sean Christopherson1-21/+13
2022-06-11KVM: selftests: Purge vm+vcpu_id == vcpu sillinessSean Christopherson1-123/+39
2022-06-11KVM: selftests: Require vCPU output array when creating VM with vCPUsSean Christopherson1-6/+4
2022-06-11KVM: selftests: Drop @vcpuids param from VM creatorsSean Christopherson1-5/+3
2022-06-11KVM: selftests: Drop vm_create_default* helpersSean Christopherson1-17/+6
2022-06-11KVM: selftests: Add VM creation helper that "returns" vCPUsSean Christopherson1-7/+10
2022-06-11KVM: selftests: Rename vm_vcpu_add* helpers to better show relationshipsSean Christopherson1-3/+3
2022-06-11KVM: selftests: Move vm_is_unrestricted_guest() to x86-64Sean Christopherson1-33/+0
2022-06-11KVM: selftests: Return the created vCPU from vm_vcpu_add()Sean Christopherson1-18/+9
2022-06-11KVM: selftests: Rename 'struct vcpu' to 'struct kvm_vcpu'Sean Christopherson1-19/+17
2022-06-11KVM: selftests: Rename vcpu.state => vcpu.runSean Christopherson1-15/+9