aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kvm/lib (follow)
AgeCommit message (Expand)AuthorFilesLines
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
2022-06-11KVM: selftests: Make vcpu_ioctl() a wrapper to pretty print ioctl nameSean Christopherson1-23/+8
2022-06-11KVM: selftests: Add another underscore to inner ioctl() helpersSean Christopherson2-13/+13
2022-06-11KVM: selftests: Always open VM file descriptors with O_RDWRSean Christopherson1-11/+9
2022-06-09Merge branch 'kvm-5.20-early'Paolo Bonzini4-5/+5
2022-06-09KVM: selftests: Restrict test region to 48-bit physical addresses when using nestedDavid Matlack1-3/+15
2022-06-09KVM: selftests: Add option to run dirty_log_perf_test vCPUs in L2David Matlack3-5/+157
2022-06-09KVM: selftests: Add a helper to check EPT/VPID capabilitiesDavid Matlack1-1/+6
2022-06-09KVM: selftests: Refactor nested_map() to specify target levelDavid Matlack1-4/+12
2022-06-09KVM: selftests: Drop stale function parameter comment for nested_map()David Matlack1-1/+0
2022-06-09KVM: selftests: Add option to create 2M and 1G EPT mappingsDavid Matlack1-50/+60