aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kvm/lib (follow)
AgeCommit message (Expand)AuthorFilesLines
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: Fix nx_huge_pages_test on TDP-disabled hostsDavid Matlack1-0/+27
2022-09-30KVM: selftests: Add helpers to read kvm_{intel,amd} boolean module parametersDavid Matlack2-12/+40
2022-09-30Revert "KVM: selftests: Fix nested SVM tests when built with clang"Sean Christopherson1-13/+1
2022-09-30KVM: selftests: Implement memcmp(), memcpy(), and memset() for guest useSean Christopherson1-0/+39
2022-09-30KVM: selftests: Gracefully handle empty stack tracesDavid Matlack1-7/+13
2022-09-29KVM: selftests: dirty-log: Use KVM_CAP_DIRTY_LOG_RING_ACQ_REL if availableMarc Zyngier1-1/+4
2022-09-27KVM: selftests: Skip tests that require EPT when it is not availableDavid Matlack1-0/+20
2022-08-01selftests: kvm: set rax before vmcallAndrei Vagin1-1/+1
2022-08-01Merge remote-tracking branch 'kvm/next' into kvm-next-5.20Paolo Bonzini18-1810/+839
2022-07-13KVM: selftests: Use the common cpuid() helper in cpu_vendor_string_is()Sean Christopherson1-8/+2
2022-07-13KVM: selftests: Clean up requirements for XFD-aware XSAVE featuresSean Christopherson1-3/+5
2022-07-13KVM: selftests: Skip AMX test if ARCH_REQ_XCOMP_GUEST_PERM isn't supportedSean Christopherson1-8/+1
2022-07-13KVM: selftests: Check KVM's supported CPUID, not host CPUID, for XFDSean Christopherson1-17/+2
2022-07-13KVM: selftests: Inline "get max CPUID leaf" helpersSean Christopherson1-10/+0
2022-07-13KVM: selftests: Set input function/index in raw CPUID helper(s)Sean Christopherson1-9/+4
2022-07-13KVM: selftests: Make get_supported_cpuid() returns "const"Sean Christopherson1-19/+8
2022-07-13KVM: selftests: Use vCPU's CPUID directly in Hyper-V testSean Christopherson1-18/+0
2022-07-13KVM: selftests: Use vcpu_get_cpuid_entry() in PV features test (sort of)Sean Christopherson1-0/+11
2022-07-13KVM: selftests: Add and use helper to set vCPU's CPUID maxphyaddrSean Christopherson1-0/+8
2022-07-13KVM: selftests: Use vm->pa_bits to generate reserved PA bitsSean Christopherson1-6/+2
2022-07-13KVM: selftests: Add helpers to get and modify a vCPU's CPUID entriesSean Christopherson1-0/+18
2022-07-13KVM: selftests: Use get_cpuid_entry() in kvm_get_supported_cpuid_index()Sean Christopherson1-32/+0
2022-07-13KVM: selftests: Rename and tweak get_cpuid() to get_cpuid_entry()Sean Christopherson1-6/+5
2022-07-13KVM: selftests: Don't use a static local in vcpu_get_supported_hv_cpuid()Sean Christopherson1-3/+1
2022-07-13KVM: selftests: Cache CPUID in struct kvm_vcpuSean Christopherson2-22/+27
2022-07-13KVM: selftests: Split out kvm_cpuid2_size() from allocate_kvm_cpuid2()Sean Christopherson1-41/+7
2022-07-13KVM: selftests: Use kvm_cpu_has() for nested VMX checksSean Christopherson2-13/+1
2022-07-13KVM: selftests: Use kvm_cpu_has() for nested SVM checksSean Christopherson1-13/+0
2022-07-13KVM: selftests: Add framework to query KVM CPUID bitsSean Christopherson1-0/+22
2022-07-13KVM: selftests: Set KVM's supported CPUID as vCPU's CPUID during recreateSean Christopherson2-2/+17
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-23selftests: KVM: Handle compiler optimizations in ucallRaghavendra Rao Ananta1-5/+4
2022-06-20KVM: selftests: Add x86-64 support for exception fixupSean Christopherson1-0/+17
2022-06-15KVM: selftests: Remove the mismatched parameter commentsShaoqin Huang1-3/+0
2022-06-14KVM: selftests: Use kvm_has_cap(), not kvm_check_cap(), where possibleSean Christopherson1-2/+2
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 Christopherson4-32/+7
2022-06-11KVM: selftests: Add TEST_REQUIRE macros to reduce skipping copy+pasteSean Christopherson4-20/+8
2022-06-11KVM: selftests: Add kvm_has_cap() to provide syntactic sugarSean Christopherson2-3/+3
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 Christopherson2-5/+4
2022-06-11KVM: selftests: Drop @slot0_mem_pages from __vm_create_with_vcpus()Sean Christopherson2-17/+9
2022-06-11KVM: selftests: Open code and drop 'struct kvm_vm' accessorsSean Christopherson2-26/+1