summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kvm/lib/kvm_util.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* KVM: selftests: Cache CPUID in struct kvm_vcpuSean Christopherson2022-07-141-0/+7
* KVM: selftests: Set KVM's supported CPUID as vCPU's CPUID during recreateSean Christopherson2022-07-141-2/+8
* 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: Remove the mismatched parameter commentsShaoqin Huang2022-06-151-3/+0
* 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-111-27/+2
* KVM: selftests: Add TEST_REQUIRE macros to reduce skipping copy+pasteSean Christopherson2022-06-111-8/+2
* KVM: selftests: Add kvm_has_cap() to provide syntactic sugarSean Christopherson2022-06-111-2/+2
* 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-111-4/+3
* KVM: selftests: Drop @slot0_mem_pages from __vm_create_with_vcpus()Sean Christopherson2022-06-111-14/+7
* KVM: selftests: Open code and drop 'struct kvm_vm' accessorsSean Christopherson2022-06-111-25/+0
* 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-111-123/+39
* KVM: selftests: Require vCPU output array when creating VM with vCPUsSean Christopherson2022-06-111-6/+4
* KVM: selftests: Drop @vcpuids param from VM creatorsSean Christopherson2022-06-111-5/+3
* KVM: selftests: Drop vm_create_default* helpersSean Christopherson2022-06-111-17/+6
* KVM: selftests: Add VM creation helper that "returns" vCPUsSean Christopherson2022-06-111-7/+10
* KVM: selftests: Rename vm_vcpu_add* helpers to better show relationshipsSean Christopherson2022-06-111-3/+3
* KVM: selftests: Move vm_is_unrestricted_guest() to x86-64Sean Christopherson2022-06-111-33/+0
* KVM: selftests: Return the created vCPU from vm_vcpu_add()Sean Christopherson2022-06-111-18/+9
* KVM: selftests: Rename 'struct vcpu' to 'struct kvm_vcpu'Sean Christopherson2022-06-111-19/+17
* KVM: selftests: Rename vcpu.state => vcpu.runSean Christopherson2022-06-111-15/+9
* KVM: selftests: Make vm_create() a wrapper that specifies VM_MODE_DEFAULTSean Christopherson2022-06-111-8/+8
* KVM: selftests: Rename vm_create_without_vcpus() => vm_create()Sean Christopherson2022-06-111-2/+2
* KVM: selftests: Rename vm_create() => vm_create_barebones(), drop paramSean Christopherson2022-06-111-25/+4
* KVM: selftests: Push vm_adjust_num_guest_pages() into "w/o vCPUs" helperSean Christopherson2022-06-111-2/+2
* KVM: selftests: Add vm_create_*() variants to expose/return 'struct vcpu'Sean Christopherson2022-06-111-0/+18
* KVM: selftests: Simplify KVM_ENABLE_CAP helper APIsSean Christopherson2022-06-111-5/+1
* KVM: selftests: Add a VM backpointer to 'struct vcpu'Sean Christopherson2022-06-111-0/+1
* KVM: selftests: Split get/set device_attr helpersSean Christopherson2022-06-111-30/+28
* KVM: selftests: Drop 'int' return from asserting *_has_device_attr()Sean Christopherson2022-06-111-17/+0
* KVM: selftests: Rename KVM_HAS_DEVICE_ATTR helpers for consistencySean Christopherson2022-06-111-6/+6
* KVM: selftests: Multiplex return code and fd in __kvm_create_device()Sean Christopherson2022-06-111-9/+7
* KVM: selftests: Move KVM_CREATE_DEVICE_TEST code to separate helperSean Christopherson2022-06-111-6/+17
* KVM: selftests: Drop @test param from kvm_create_device()Sean Christopherson2022-06-111-8/+4
* KVM: selftests: Get rid of kvm_util_internal.hSean Christopherson2022-06-111-1/+0
* KVM: selftests: Use __KVM_SYSCALL_ERROR() to handle non-KVM syscall errorsSean Christopherson2022-06-111-20/+14
* KVM: selftests: Use kvm_ioctl() helpersSean Christopherson2022-06-111-8/+5
* KVM: selftests: Make kvm_ioctl() a wrapper to pretty print ioctl nameSean Christopherson2022-06-111-26/+5
* KVM: sefltests: Use vm_ioctl() and __vm_ioctl() helpersSean Christopherson2022-06-111-104/+12
* KVM: selftests: Make vm_ioctl() a wrapper to pretty print ioctl nameSean Christopherson2022-06-111-20/+6
* KVM: selftests: Add vcpu_get() to retrieve and assert on vCPU existenceSean Christopherson2022-06-111-40/+16