summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kvm/include
AgeCommit message (Expand)AuthorFilesLines
2022-06-11KVM: selftests: Stop conflating vCPU index and ID in perf testsSean Christopherson1-3/+4
2022-06-11KVM: selftests: Drop @vcpuids param from VM creatorsSean Christopherson1-2/+2
2022-06-11KVM: selftests: Drop vm_create_default* helpersSean Christopherson1-23/+0
2022-06-11KVM: selftests: Consolidate KVM_{G,S}ET_ONE_REG helpersSean Christopherson3-41/+25
2022-06-11KVM: selftests: Add VM creation helper that "returns" vCPUsSean Christopherson1-4/+13
2022-06-11KVM: selftests: Rename vm_vcpu_add* helpers to better show relationshipsSean Christopherson2-7/+5
2022-06-11KVM: selftests: Return created vcpu from vm_vcpu_add_default()Sean Christopherson2-6/+9
2022-06-11KVM: selftests: Add "arch" to common utils that have arch implementationsSean Christopherson1-83/+117
2022-06-11KVM: selftests: Move vm_is_unrestricted_guest() to x86-64Sean Christopherson2-2/+1
2022-06-11KVM: selftests: Make arm64's guest_get_vcpuid() declaration arm64-onlySean Christopherson2-2/+2
2022-06-11KVM: selftests: Convert vgic_irq away from VCPU_IDSean Christopherson1-2/+4
2022-06-11KVM: selftests: Return the created vCPU from vm_vcpu_add()Sean Christopherson1-1/+1
2022-06-11KVM: selftests: Rename 'struct vcpu' to 'struct kvm_vcpu'Sean Christopherson1-5/+6
2022-06-11KVM: selftests: Rename vcpu.state => vcpu.runSean Christopherson1-1/+1
2022-06-11KVM: selftests: Make vm_create() a wrapper that specifies VM_MODE_DEFAULTSean Christopherson1-5/+13
2022-06-11KVM: selftests: Rename vm_create_without_vcpus() => vm_create()Sean Christopherson1-1/+1
2022-06-11KVM: selftests: Rename vm_create() => vm_create_barebones(), drop paramSean Christopherson1-1/+5
2022-06-11KVM: selftests: Add vm_create_*() variants to expose/return 'struct vcpu'Sean Christopherson1-0/+16
2022-06-11KVM: selftest: Add proper helpers for x86-specific save/restore ioctlsSean Christopherson1-0/+54
2022-06-11KVM: selftests: Rename MP_STATE and GUEST_DEBUG helpers for consistencySean Christopherson1-2/+7
2022-06-11KVM: selftests: Dedup MSR index list helpers, simplify dedicated testSean Christopherson1-0/+1
2022-06-11KVM: selftests: Cache list of MSRs to save/restoreSean Christopherson1-1/+3
2022-06-11KVM: selftests: Simplify KVM_ENABLE_CAP helper APIsSean Christopherson1-6/+12
2022-06-11KVM: selftests: Consolidate KVM_ENABLE_CAP usageSean Christopherson1-0/+4
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 Christopherson1-32/+59
2022-06-11KVM: selftests: Drop 'int' return from asserting *_has_device_attr()Sean Christopherson1-3/+17
2022-06-11KVM: selftests: Rename KVM_HAS_DEVICE_ATTR helpers for consistencySean Christopherson1-3/+3
2022-06-11KVM: selftests: Multiplex return code and fd in __kvm_create_device()Sean Christopherson1-1/+1
2022-06-11KVM: selftests: Move KVM_CREATE_DEVICE_TEST code to separate helperSean Christopherson1-1/+2
2022-06-11KVM: selftests: Drop @test param from kvm_create_device()Sean Christopherson1-1/+1
2022-06-11KVM: selftests: Get rid of kvm_util_internal.hSean Christopherson1-7/+90
2022-06-11KVM: selftests: Make kvm_ioctl() a wrapper to pretty print ioctl nameSean Christopherson1-2/+14
2022-06-11KVM: sefltests: Use vm_ioctl() and __vm_ioctl() helpersSean Christopherson1-10/+50
2022-06-11KVM: selftests: Make vm_ioctl() a wrapper to pretty print ioctl nameSean Christopherson1-17/+21
2022-06-11KVM: selftests: Remove vcpu_get_fd()Sean Christopherson1-1/+0
2022-06-11KVM: selftests: Add __vcpu_run() helperSean Christopherson1-0/+6
2022-06-11KVM: sefltests: Use vcpu_ioctl() and __vcpu_ioctl() helpersSean Christopherson2-44/+126
2022-06-11KVM: selftests: Split vcpu_set_nested_state() into two helpersSean Christopherson1-2/+4
2022-06-11KVM: selftests: Drop @mode from common vm_create() helperSean Christopherson1-1/+2
2022-06-11KVM: selftests: Make vcpu_ioctl() a wrapper to pretty print ioctl nameSean Christopherson1-2/+11
2022-06-11KVM: selftests: Add another underscore to inner ioctl() helpersSean Christopherson1-4/+4
2022-06-11KVM: selftests: Always open VM file descriptors with O_RDWRSean Christopherson1-2/+2
2022-06-11KVM: selftests: Drop stale declarations from kvm_util_base.hSean Christopherson1-5/+0
2022-06-09Merge branch 'kvm-5.20-early'Paolo Bonzini2-0/+29
2022-06-09KVM: selftests: Add option to run dirty_log_perf_test vCPUs in L2David Matlack3-0/+17
2022-06-09KVM: selftests: Move VMX_EPT_VPID_CAP_AD_BITS to vmx.hDavid Matlack2-3/+2
2022-06-09KVM: selftests: Replace x86_page_size with PG_LEVEL_XXDavid Matlack1-6/+12
2022-06-08KVM: selftests: nSVM: Add svm_nested_soft_inject_testMaciej S. Szmigiero2-0/+29
2022-05-25Merge tag 'kvm-riscv-5.19-1' of https://github.com/kvm-riscv/linux into HEADPaolo Bonzini1-3/+5