summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kvm/lib
Commit message (Expand)AuthorAgeFilesLines
* selftests: kvm: set rax before vmcallAndrei Vagin2022-08-011-1/+1
* Merge remote-tracking branch 'kvm/next' into kvm-next-5.20Paolo Bonzini2022-08-0118-1810/+839
|\
| * KVM: selftests: Use the common cpuid() helper in cpu_vendor_string_is()Sean Christopherson2022-07-131-8/+2
| * KVM: selftests: Clean up requirements for XFD-aware XSAVE featuresSean Christopherson2022-07-131-3/+5
| * KVM: selftests: Skip AMX test if ARCH_REQ_XCOMP_GUEST_PERM isn't supportedSean Christopherson2022-07-131-8/+1
| * KVM: selftests: Check KVM's supported CPUID, not host CPUID, for XFDSean Christopherson2022-07-131-17/+2
| * KVM: selftests: Inline "get max CPUID leaf" helpersSean Christopherson2022-07-131-10/+0
| * KVM: selftests: Set input function/index in raw CPUID helper(s)Sean Christopherson2022-07-131-9/+4
| * KVM: selftests: Make get_supported_cpuid() returns "const"Sean Christopherson2022-07-131-19/+8
| * KVM: selftests: Use vCPU's CPUID directly in Hyper-V testSean Christopherson2022-07-131-18/+0
| * KVM: selftests: Use vcpu_get_cpuid_entry() in PV features test (sort of)Sean Christopherson2022-07-131-0/+11
| * KVM: selftests: Add and use helper to set vCPU's CPUID maxphyaddrSean Christopherson2022-07-131-0/+8
| * KVM: selftests: Use vm->pa_bits to generate reserved PA bitsSean Christopherson2022-07-131-6/+2
| * KVM: selftests: Add helpers to get and modify a vCPU's CPUID entriesSean Christopherson2022-07-131-0/+18
| * KVM: selftests: Use get_cpuid_entry() in kvm_get_supported_cpuid_index()Sean Christopherson2022-07-131-32/+0
| * KVM: selftests: Rename and tweak get_cpuid() to get_cpuid_entry()Sean Christopherson2022-07-131-6/+5
| * KVM: selftests: Don't use a static local in vcpu_get_supported_hv_cpuid()Sean Christopherson2022-07-131-3/+1
| * KVM: selftests: Cache CPUID in struct kvm_vcpuSean Christopherson2022-07-132-22/+27
| * KVM: selftests: Split out kvm_cpuid2_size() from allocate_kvm_cpuid2()Sean Christopherson2022-07-131-41/+7
| * KVM: selftests: Use kvm_cpu_has() for nested VMX checksSean Christopherson2022-07-132-13/+1
| * KVM: selftests: Use kvm_cpu_has() for nested SVM checksSean Christopherson2022-07-131-13/+0
| * KVM: selftests: Add framework to query KVM CPUID bitsSean Christopherson2022-07-131-0/+22
| * KVM: selftests: Set KVM's supported CPUID as vCPU's CPUID during recreateSean Christopherson2022-07-132-2/+17
| * KVM: selftests: Cache binary stats metadata for duration of testBen Gardon2022-06-241-15/+17
| * KVM: selftests: Add NX huge pages testBen Gardon2022-06-241-0/+46
| * KVM: selftests: Read binary stat data in libBen Gardon2022-06-241-0/+35
| * KVM: selftests: Read binary stats desc in libBen Gardon2022-06-241-0/+33
| * KVM: selftests: Add x86-64 support for exception fixupSean Christopherson2022-06-201-0/+17
| * KVM: selftests: Remove the mismatched parameter commentsShaoqin Huang2022-06-151-3/+0
| * KVM: selftests: Use kvm_has_cap(), not kvm_check_cap(), where possibleSean Christopherson2022-06-141-2/+2
| * KVM: selftests: Drop a duplicate TEST_ASSERT() in vm_nr_pages_required()Sean Christopherson2022-06-141-4/+0
| * KVM: selftests: Add a missing apostrophe in comment to show ownershipSean Christopherson2022-06-141-1/+1
| * KVM: selftests: Sanity check input to ioctls() at build timeSean Christopherson2022-06-114-32/+7
| * KVM: selftests: Add TEST_REQUIRE macros to reduce skipping copy+pasteSean Christopherson2022-06-114-20/+8
| * KVM: selftests: Add kvm_has_cap() to provide syntactic sugarSean Christopherson2022-06-112-3/+3
| * KVM: selftests: Return an 'unsigned int' from kvm_check_cap()Sean Christopherson2022-06-111-1/+1
| * KVM: selftests: Drop DEFAULT_GUEST_PHY_PAGES, open code the magic numberSean Christopherson2022-06-111-1/+7
| * KVM: selftests: Move per-VM/per-vCPU nr pages calculation to __vm_create()Sean Christopherson2022-06-111-19/+38
| * KVM: selftests: Drop @num_percpu_pages from __vm_create_with_vcpus()Sean Christopherson2022-06-112-5/+4
| * KVM: selftests: Drop @slot0_mem_pages from __vm_create_with_vcpus()Sean Christopherson2022-06-112-17/+9
| * KVM: selftests: Open code and drop 'struct kvm_vm' accessorsSean Christopherson2022-06-112-26/+1
| * KVM: selftests: Remove vcpu_state() helperSean Christopherson2022-06-111-18/+1
| * KVM: selftests: Drop vcpu_get(), rename vcpu_find() => vcpu_exists()Sean Christopherson2022-06-111-21/+13
| * KVM: selftests: Purge vm+vcpu_id == vcpu sillinessSean Christopherson2022-06-1112-306/+209
| * KVM: selftests: Require vCPU output array when creating VM with vCPUsSean Christopherson2022-06-111-6/+4
| * KVM: selftests: Stop conflating vCPU index and ID in perf testsSean Christopherson2022-06-112-45/+51
| * KVM: selftests: Drop @vcpuids param from VM creatorsSean Christopherson2022-06-112-6/+4
| * KVM: selftests: Drop vm_create_default* helpersSean Christopherson2022-06-111-17/+6
| * KVM: selftests: Convert s390x/diag318_test_handler away from VCPU_IDSean Christopherson2022-06-111-5/+4
| * KVM: selftests: Consolidate KVM_{G,S}ET_ONE_REG helpersSean Christopherson2022-06-112-56/+56