summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kvm
AgeCommit message (Expand)AuthorFilesLines
2022-06-11KVM: selftests: Add TEST_REQUIRE macros to reduce skipping copy+pasteSean Christopherson48-290/+119
2022-06-11KVM: selftests: Add kvm_has_cap() to provide syntactic sugarSean Christopherson19-24/+29
2022-06-11KVM: selftests: Return an 'unsigned int' from kvm_check_cap()Sean Christopherson3-3/+3
2022-06-11KVM: selftests: Drop DEFAULT_GUEST_PHY_PAGES, open code the magic numberSean Christopherson2-2/+7
2022-06-11KVM: selftests: Trust that MAXPHYADDR > memslot0 in vmx_apic_access_testSean Christopherson1-8/+1
2022-06-11KVM: selftests: Move per-VM/per-vCPU nr pages calculation to __vm_create()Sean Christopherson10-35/+53
2022-06-11KVM: selftests: Drop @num_percpu_pages from __vm_create_with_vcpus()Sean Christopherson4-8/+7
2022-06-11KVM: selftests: Drop @slot0_mem_pages from __vm_create_with_vcpus()Sean Christopherson4-26/+14
2022-06-11KVM: selftests: Open code and drop 'struct kvm_vm' accessorsSean Christopherson9-47/+14
2022-06-11KVM: selftests: Remove vcpu_state() helperSean Christopherson2-19/+1
2022-06-11KVM: selftests: Drop vcpu_get(), rename vcpu_find() => vcpu_exists()Sean Christopherson2-23/+13
2022-06-11KVM: selftests: Purge vm+vcpu_id == vcpu sillinessSean Christopherson87-909/+791
2022-06-11KVM: selftests: Require vCPU output array when creating VM with vCPUsSean Christopherson1-6/+4
2022-06-11KVM: selftests: Remove vcpu_get() usage from dirty_log_testSean Christopherson1-6/+4
2022-06-11KVM: selftests: Stop conflating vCPU index and ID in perf testsSean Christopherson7-131/+138
2022-06-11KVM: selftests: Stop hardcoding vCPU IDs in vcpu_width_configSean Christopherson1-29/+31
2022-06-11KVM: selftests: Convert get-reg-list away from its "VCPU_ID"Sean Christopherson1-7/+8
2022-06-11KVM: selftests: Convert kvm_binary_stats_test away from vCPU IDsSean Christopherson1-4/+9
2022-06-11KVM: selftests: Convert kvm_page_table_test away from reliance on vcpu_idSean Christopherson1-41/+21
2022-06-11KVM: selftests: Drop @vcpuids param from VM creatorsSean Christopherson4-9/+7
2022-06-11KVM: selftests: Drop vm_create_default* helpersSean Christopherson2-40/+6
2022-06-11KVM: selftests: Use vm_create_with_vcpus() in max_guest_memory_testSean Christopherson1-10/+16
2022-06-11KVM: selftests: Use vm_create() in tsc_scaling_syncSean Christopherson1-1/+1
2022-06-11KVM: selftests: Convert tprot away from VCPU_IDSean Christopherson1-16/+15
2022-06-11KVM: selftests: Convert s390x/diag318_test_handler away from VCPU_IDSean Christopherson1-5/+4
2022-06-11KVM: selftests: Convert memop away from VCPU_IDSean Christopherson1-40/+42
2022-06-11KVM: selftests: Convert s390's "resets" test away from VCPU_IDSean Christopherson1-60/+77
2022-06-11KVM: selftests: Convert sync_regs_test away from VCPU_IDSean Christopherson1-29/+30
2022-06-11KVM: selftests: Convert xapic_ipi_test away from *_VCPU_IDSean Christopherson1-28/+20
2022-06-11KVM: selftests: Convert hypercalls test away from vm_create_default()Sean Christopherson1-27/+24
2022-06-11KVM: selftests: Sync stage before VM is freed in hypercalls testSean Christopherson1-14/+13
2022-06-11KVM: selftests: Consolidate KVM_{G,S}ET_ONE_REG helpersSean Christopherson10-132/+93
2022-06-11KVM: selftests: Convert vgic_init away from vm_create_default_with_vcpus()Sean Christopherson1-31/+51
2022-06-11KVM: selftests: Convert triple_fault_event_test away from VCPU_IDSean Christopherson1-11/+11
2022-06-11KVM: selftests: Convert svm_nested_soft_inject_test away from VCPU_IDSean Christopherson1-8/+8
2022-06-11KVM: selftests: Convert arch_timer away from VCPU_IDSean Christopherson1-35/+27
2022-06-11KVM: selftests: Convert steal_time away from VCPU_IDSean Christopherson1-61/+62
2022-06-11KVM: selftests: Add VM creation helper that "returns" vCPUsSean Christopherson4-15/+28
2022-06-11KVM: selftests: Convert hardware_disable_test to pass around vCPU objectsSean Christopherson1-17/+8
2022-06-11KVM: selftests: Convert psci_test away from VCPU_IDSean Christopherson1-25/+25
2022-06-11KVM: selftests: Convert set_boot_cpu_id away from global VCPU_IDsSean Christopherson1-50/+36
2022-06-11KVM: selftests: Rename vm_vcpu_add* helpers to better show relationshipsSean Christopherson23-47/+44
2022-06-11KVM: selftests: Return created vcpu from vm_vcpu_add_default()Sean Christopherson8-42/+58
2022-06-11KVM: selftests: Add "arch" to common utils that have arch implementationsSean Christopherson5-107/+141
2022-06-11KVM: selftests: Move vm_is_unrestricted_guest() to x86-64Sean Christopherson4-35/+22
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 Christopherson3-21/+25
2022-06-11KVM: selftests: Convert fix_hypercall_test away from VCPU_IDSean Christopherson1-18/+16
2022-06-11KVM: selftests: Convert debug-exceptions away from VCPU_IDSean Christopherson1-9/+8
2022-06-11KVM: selftests: Convert xapic_state_test away from hardcoded vCPU IDSean Christopherson1-23/+25