summaryrefslogtreecommitdiffstats
path: root/tools/testing
AgeCommit message (Expand)AuthorLines
2022-06-11KVM: selftests: Convert pmu_event_filter_test away from VCPU_IDSean Christopherson-36/+39
2022-06-11KVM: selftests: Convert mmu_role_test away from VCPU_IDSean Christopherson-12/+8
2022-06-11KVM: selftests: Convert vmx_tsc_adjust_test away from VCPU_IDSean Christopherson-7/+6
2022-06-11KVM: selftests: Convert vmx_set_nested_state_test away from VCPU_IDSean Christopherson-43/+43
2022-06-11KVM: selftests: Convert vmx_pmu_msrs_test away from VCPU_IDSean Christopherson-13/+12
2022-06-11KVM: selftests: Convert vmx_preemption_timer_test away from VCPU_IDSean Christopherson-15/+15
2022-06-11KVM: selftests: Convert xss_msr_test away from VCPU_IDSean Christopherson-5/+6
2022-06-11KVM: selftests: Convert rseq_test away from VCPU_IDSean Christopherson-5/+4
2022-06-11KVM: selftests: Convert memslot_perf_test away from VCPU_IDSean Christopherson-14/+14
2022-06-11KVM: selftests: Return the created vCPU from vm_vcpu_add()Sean Christopherson-19/+10
2022-06-11KVM: selftests: Rename 'struct vcpu' to 'struct kvm_vcpu'Sean Christopherson-25/+24
2022-06-11KVM: selftests: Rename vcpu.state => vcpu.runSean Christopherson-17/+11
2022-06-11KVM: selftests: Rename xAPIC state test's vcpu structSean Christopherson-5/+5
2022-06-11KVM: selftests: Make vm_create() a wrapper that specifies VM_MODE_DEFAULTSean Christopherson-18/+26
2022-06-11KVM: selftests: Rename vm_create_without_vcpus() => vm_create()Sean Christopherson-8/+8
2022-06-11KVM: selftests: Rename vm_create() => vm_create_barebones(), drop paramSean Christopherson-40/+23
2022-06-11KVM: selftests: Avoid memory allocations when adding vCPU in get-reg-listSean Christopherson-1/+2
2022-06-11KVM: selftests: Use vm_create_without_vcpus() in psci_testSean Christopherson-2/+1
2022-06-11KVM: selftests: Use vm_create_without_vcpus() in hardware_disable_testSean Christopherson-3/+1
2022-06-11KVM: selftests: Use vm_create_without_vcpus() in dirty_log_testSean Christopherson-5/+2
2022-06-11KVM: selftests: Use vm_create_without_vcpus() in set_boot_cpu_idSean Christopherson-8/+1
2022-06-11KVM: selftests: Push vm_adjust_num_guest_pages() into "w/o vCPUs" helperSean Christopherson-2/+2
2022-06-11KVM: selftests: Add vm_create_*() variants to expose/return 'struct vcpu'Sean Christopherson-0/+34
2022-06-11KVM: selftest: Add proper helpers for x86-specific save/restore ioctlsSean Christopherson-91/+93
2022-06-11KVM: selftests: Rename MP_STATE and GUEST_DEBUG helpers for consistencySean Christopherson-6/+11
2022-06-11KVM: selftests: Dedup MSR index list helpers, simplify dedicated testSean Christopherson-106/+46
2022-06-11KVM: selftests: Harden and comment XSS / KVM_SET_MSRS interactionSean Christopherson-1/+6
2022-06-11KVM: selftests: Cache list of MSRs to save/restoreSean Christopherson-67/+45
2022-06-11KVM: selftests: Simplify KVM_ENABLE_CAP helper APIsSean Christopherson-126/+47
2022-06-11KVM: selftests: Consolidate KVM_ENABLE_CAP usageSean Christopherson-51/+52
2022-06-11KVM: selftests: Add a VM backpointer to 'struct vcpu'Sean Christopherson-0/+2
2022-06-11KVM: selftests: Dedup vgic_init's asserts and improve error messagesSean Christopherson-65/+47
2022-06-11KVM: selftests: Split get/set device_attr helpersSean Christopherson-211/+231
2022-06-11KVM: selftests: Drop 'int' return from asserting *_has_device_attr()Sean Christopherson-22/+19
2022-06-11KVM: selftests: Rename KVM_HAS_DEVICE_ATTR helpers for consistencySean Christopherson-17/+15
2022-06-11KVM: selftests: Multiplex return code and fd in __kvm_create_device()Sean Christopherson-15/+14
2022-06-11KVM: selftests: Move KVM_CREATE_DEVICE_TEST code to separate helperSean Christopherson-14/+25
2022-06-11KVM: selftests: Drop @test param from kvm_create_device()Sean Christopherson-17/+11
2022-06-11KVM: selftests: Use KVM_IOCTL_ERROR() for one-off arm64 ioctlsSean Christopherson-4/+4
2022-06-11KVM: selftests: Get rid of kvm_util_internal.hSean Christopherson-116/+90
2022-06-11KVM: selftests: Make x86-64's register dump helpers staticSean Christopherson-68/+2
2022-06-11KVM: selftests: Use __KVM_SYSCALL_ERROR() to handle non-KVM syscall errorsSean Christopherson-29/+22
2022-06-11KVM: selftests: Use kvm_ioctl() helpersSean Christopherson-49/+26
2022-06-11KVM: selftests: Make kvm_ioctl() a wrapper to pretty print ioctl nameSean Christopherson-29/+20
2022-06-11KVM: sefltests: Use vm_ioctl() and __vm_ioctl() helpersSean Christopherson-126/+67
2022-06-11KVM: selftests: Make vm_ioctl() a wrapper to pretty print ioctl nameSean Christopherson-37/+27
2022-06-11KVM: selftests: Add vcpu_get() to retrieve and assert on vCPU existenceSean Christopherson-47/+20
2022-06-11KVM: selftests: Remove vcpu_get_fd()Sean Christopherson-10/+0
2022-06-11KVM: selftests: Use vcpu_access_device_attr() in arm64 codeSean Christopherson-6/+4
2022-06-11KVM: selftests: Add __vcpu_run() helperSean Christopherson-12/+12