aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kvm/lib (follow)
AgeCommit message (Expand)AuthorFilesLines
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 Christopherson12-306/+209
2022-06-11KVM: selftests: Require vCPU output array when creating VM with vCPUsSean Christopherson1-6/+4
2022-06-11KVM: selftests: Stop conflating vCPU index and ID in perf testsSean Christopherson2-45/+51
2022-06-11KVM: selftests: Drop @vcpuids param from VM creatorsSean Christopherson2-6/+4
2022-06-11KVM: selftests: Drop vm_create_default* helpersSean Christopherson1-17/+6
2022-06-11KVM: selftests: Convert s390x/diag318_test_handler away from VCPU_IDSean Christopherson1-5/+4
2022-06-11KVM: selftests: Consolidate KVM_{G,S}ET_ONE_REG helpersSean Christopherson2-56/+56
2022-06-11KVM: selftests: Add VM creation helper that "returns" vCPUsSean Christopherson2-9/+13
2022-06-11KVM: selftests: Rename vm_vcpu_add* helpers to better show relationshipsSean Christopherson5-11/+10
2022-06-11KVM: selftests: Return created vcpu from vm_vcpu_add_default()Sean Christopherson4-31/+47
2022-06-11KVM: selftests: Add "arch" to common utils that have arch implementationsSean Christopherson4-24/+24
2022-06-11KVM: selftests: Move vm_is_unrestricted_guest() to x86-64Sean Christopherson2-33/+21
2022-06-11KVM: selftests: Convert vgic_irq away from VCPU_IDSean Christopherson1-5/+5
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 Christopherson2-20/+18
2022-06-11KVM: selftests: Rename vcpu.state => vcpu.runSean Christopherson2-16/+10
2022-06-11KVM: selftests: Make vm_create() a wrapper that specifies VM_MODE_DEFAULTSean Christopherson1-8/+8
2022-06-11KVM: selftests: Rename vm_create_without_vcpus() => vm_create()Sean Christopherson1-2/+2
2022-06-11KVM: selftests: Rename vm_create() => vm_create_barebones(), drop paramSean Christopherson1-25/+4
2022-06-11KVM: selftests: Push vm_adjust_num_guest_pages() into "w/o vCPUs" helperSean Christopherson1-2/+2
2022-06-11KVM: selftests: Add vm_create_*() variants to expose/return 'struct vcpu'Sean Christopherson1-0/+18
2022-06-11KVM: selftest: Add proper helpers for x86-specific save/restore ioctlsSean Christopherson1-91/+39
2022-06-11KVM: selftests: Rename MP_STATE and GUEST_DEBUG helpers for consistencySean Christopherson1-1/+1
2022-06-11KVM: selftests: Dedup MSR index list helpers, simplify dedicated testSean Christopherson1-8/+31
2022-06-11KVM: selftests: Cache list of MSRs to save/restoreSean Christopherson1-45/+36
2022-06-11KVM: selftests: Simplify KVM_ENABLE_CAP helper APIsSean Christopherson2-11/+3
2022-06-11KVM: selftests: Consolidate KVM_ENABLE_CAP usageSean Christopherson1-1/+1
2022-06-11KVM: selftests: Add a VM backpointer to 'struct vcpu'Sean Christopherson1-0/+1
2022-06-11KVM: selftests: Split get/set device_attr helpersSean Christopherson3-48/+45
2022-06-11KVM: selftests: Drop 'int' return from asserting *_has_device_attr()Sean Christopherson1-17/+0
2022-06-11KVM: selftests: Rename KVM_HAS_DEVICE_ATTR helpers for consistencySean Christopherson1-6/+6
2022-06-11KVM: selftests: Multiplex return code and fd in __kvm_create_device()Sean Christopherson2-11/+10
2022-06-11KVM: selftests: Move KVM_CREATE_DEVICE_TEST code to separate helperSean Christopherson2-8/+18
2022-06-11KVM: selftests: Drop @test param from kvm_create_device()Sean Christopherson1-8/+4
2022-06-11KVM: selftests: Use KVM_IOCTL_ERROR() for one-off arm64 ioctlsSean Christopherson1-4/+4
2022-06-11KVM: selftests: Get rid of kvm_util_internal.hSean Christopherson13-106/+0
2022-06-11KVM: selftests: Make x86-64's register dump helpers staticSean Christopherson2-68/+2
2022-06-11KVM: selftests: Use __KVM_SYSCALL_ERROR() to handle non-KVM syscall errorsSean Christopherson1-20/+14
2022-06-11KVM: selftests: Use kvm_ioctl() helpersSean Christopherson4-34/+19
2022-06-11KVM: selftests: Make kvm_ioctl() a wrapper to pretty print ioctl nameSean Christopherson1-26/+5
2022-06-11KVM: sefltests: Use vm_ioctl() and __vm_ioctl() helpersSean Christopherson2-108/+14
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 Christopherson4-47/+20
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 Christopherson2-390/+8
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