summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/kvm/lib
AgeCommit message (Expand)Author
2022-06-15KVM: selftests: Remove the mismatched parameter commentsShaoqin Huang
2022-06-14KVM: selftests: Use kvm_has_cap(), not kvm_check_cap(), where possibleSean Christopherson
2022-06-14KVM: selftests: Drop a duplicate TEST_ASSERT() in vm_nr_pages_required()Sean Christopherson
2022-06-14KVM: selftests: Add a missing apostrophe in comment to show ownershipSean Christopherson
2022-06-11KVM: selftests: Sanity check input to ioctls() at build timeSean Christopherson
2022-06-11KVM: selftests: Add TEST_REQUIRE macros to reduce skipping copy+pasteSean Christopherson
2022-06-11KVM: selftests: Add kvm_has_cap() to provide syntactic sugarSean Christopherson
2022-06-11KVM: selftests: Return an 'unsigned int' from kvm_check_cap()Sean Christopherson
2022-06-11KVM: selftests: Drop DEFAULT_GUEST_PHY_PAGES, open code the magic numberSean Christopherson
2022-06-11KVM: selftests: Move per-VM/per-vCPU nr pages calculation to __vm_create()Sean Christopherson
2022-06-11KVM: selftests: Drop @num_percpu_pages from __vm_create_with_vcpus()Sean Christopherson
2022-06-11KVM: selftests: Drop @slot0_mem_pages from __vm_create_with_vcpus()Sean Christopherson
2022-06-11KVM: selftests: Open code and drop 'struct kvm_vm' accessorsSean Christopherson
2022-06-11KVM: selftests: Remove vcpu_state() helperSean Christopherson
2022-06-11KVM: selftests: Drop vcpu_get(), rename vcpu_find() => vcpu_exists()Sean Christopherson
2022-06-11KVM: selftests: Purge vm+vcpu_id == vcpu sillinessSean Christopherson
2022-06-11KVM: selftests: Require vCPU output array when creating VM with vCPUsSean Christopherson
2022-06-11KVM: selftests: Stop conflating vCPU index and ID in perf testsSean Christopherson
2022-06-11KVM: selftests: Drop @vcpuids param from VM creatorsSean Christopherson
2022-06-11KVM: selftests: Drop vm_create_default* helpersSean Christopherson
2022-06-11KVM: selftests: Convert s390x/diag318_test_handler away from VCPU_IDSean Christopherson
2022-06-11KVM: selftests: Consolidate KVM_{G,S}ET_ONE_REG helpersSean Christopherson
2022-06-11KVM: selftests: Add VM creation helper that "returns" vCPUsSean Christopherson
2022-06-11KVM: selftests: Rename vm_vcpu_add* helpers to better show relationshipsSean Christopherson
2022-06-11KVM: selftests: Return created vcpu from vm_vcpu_add_default()Sean Christopherson
2022-06-11KVM: selftests: Add "arch" to common utils that have arch implementationsSean Christopherson
2022-06-11KVM: selftests: Move vm_is_unrestricted_guest() to x86-64Sean Christopherson
2022-06-11KVM: selftests: Convert vgic_irq away from VCPU_IDSean Christopherson
2022-06-11KVM: selftests: Return the created vCPU from vm_vcpu_add()Sean Christopherson
2022-06-11KVM: selftests: Rename 'struct vcpu' to 'struct kvm_vcpu'Sean Christopherson
2022-06-11KVM: selftests: Rename vcpu.state => vcpu.runSean Christopherson
2022-06-11KVM: selftests: Make vm_create() a wrapper that specifies VM_MODE_DEFAULTSean Christopherson
2022-06-11KVM: selftests: Rename vm_create_without_vcpus() => vm_create()Sean Christopherson
2022-06-11KVM: selftests: Rename vm_create() => vm_create_barebones(), drop paramSean Christopherson
2022-06-11KVM: selftests: Push vm_adjust_num_guest_pages() into "w/o vCPUs" helperSean Christopherson
2022-06-11KVM: selftests: Add vm_create_*() variants to expose/return 'struct vcpu'Sean Christopherson
2022-06-11KVM: selftest: Add proper helpers for x86-specific save/restore ioctlsSean Christopherson
2022-06-11KVM: selftests: Rename MP_STATE and GUEST_DEBUG helpers for consistencySean Christopherson
2022-06-11KVM: selftests: Dedup MSR index list helpers, simplify dedicated testSean Christopherson
2022-06-11KVM: selftests: Cache list of MSRs to save/restoreSean Christopherson
2022-06-11KVM: selftests: Simplify KVM_ENABLE_CAP helper APIsSean Christopherson
2022-06-11KVM: selftests: Consolidate KVM_ENABLE_CAP usageSean Christopherson
2022-06-11KVM: selftests: Add a VM backpointer to 'struct vcpu'Sean Christopherson
2022-06-11KVM: selftests: Split get/set device_attr helpersSean Christopherson
2022-06-11KVM: selftests: Drop 'int' return from asserting *_has_device_attr()Sean Christopherson
2022-06-11KVM: selftests: Rename KVM_HAS_DEVICE_ATTR helpers for consistencySean Christopherson
2022-06-11KVM: selftests: Multiplex return code and fd in __kvm_create_device()Sean Christopherson
2022-06-11KVM: selftests: Move KVM_CREATE_DEVICE_TEST code to separate helperSean Christopherson
2022-06-11KVM: selftests: Drop @test param from kvm_create_device()Sean Christopherson
2022-06-11KVM: selftests: Use KVM_IOCTL_ERROR() for one-off arm64 ioctlsSean Christopherson