/linux-6.12.1/tools/testing/selftests/kvm/x86_64/ |
D | exit_on_emulation_failure_test.c | 29 vm_enable_cap(vm, KVM_CAP_EXIT_ON_EMULATION_FAILURE, 1); in main()
|
D | max_vcpuid_cap_test.c | 40 vm_enable_cap(vm, KVM_CAP_MAX_VCPU_ID, MAX_VCPU_ID); in main()
|
D | platform_info_test.c | 62 vm_enable_cap(vm, KVM_CAP_MSR_PLATFORM_INFO, uc.args[1]); in main()
|
D | smaller_maxphyaddr_emulation_test.c | 64 vm_enable_cap(vm, KVM_CAP_EXIT_ON_EMULATION_FAILURE, 1); in main()
|
D | monitor_mwait_test.c | 107 vm_enable_cap(vm, KVM_CAP_DISABLE_QUIRKS2, disabled_quirks); in main()
|
D | fix_hypercall_test.c | 116 vm_enable_cap(vm, KVM_CAP_DISABLE_QUIRKS2, in test_fix_hypercall()
|
D | triple_fault_event_test.c | 88 vm_enable_cap(vm, KVM_CAP_X86_TRIPLE_FAULT_EVENT, 1); in main()
|
D | userspace_msr_exit_test.c | 521 vm_enable_cap(vm, KVM_CAP_X86_USER_SPACE_MSR, KVM_MSR_EXIT_REASON_FILTER); in KVM_ONE_VCPU_TEST() 634 vm_enable_cap(vm, KVM_CAP_X86_USER_SPACE_MSR, KVM_MSR_EXIT_REASON_INVAL | in KVM_ONE_VCPU_TEST() 674 vm_enable_cap(vm, KVM_CAP_X86_USER_SPACE_MSR, KVM_MSR_EXIT_REASON_FILTER); in KVM_ONE_VCPU_TEST()
|
D | apic_bus_clock_test.c | 137 vm_enable_cap(vm, KVM_CAP_X86_APIC_BUS_CYCLES_NS, in run_apic_bus_clock_test()
|
D | kvm_pv_test.c | 160 vm_enable_cap(vm, KVM_CAP_X86_DISABLE_EXITS, KVM_X86_DISABLE_EXITS_HLT); in test_pv_unhalt()
|
D | dirty_log_page_splitting_test.c | 117 vm_enable_cap(vm, KVM_CAP_MANUAL_DIRTY_LOG_PROTECT2, in run_test()
|
D | nested_exceptions_test.c | 226 vm_enable_cap(vm, KVM_CAP_EXCEPTION_PAYLOAD, -2ul); in main()
|
D | xapic_state_test.c | 180 vm_enable_cap(vm, KVM_CAP_X2APIC_API, KVM_X2APIC_API_USE_32BIT_IDS); in test_apic_id()
|
D | private_mem_conversions_test.c | 395 vm_enable_cap(vm, KVM_CAP_EXIT_HYPERCALL, (1 << KVM_HC_MAP_GPA_RANGE)); in test_mem_conversions()
|
D | pmu_event_filter_test.c | 334 vm_enable_cap(vm, KVM_CAP_PMU_CAPABILITY, KVM_PMU_CAP_DISABLE); in test_pmu_config_disable()
|
/linux-6.12.1/tools/testing/selftests/kvm/ |
D | memslot_modification_stress_test.c | 95 vm_enable_cap(vm, KVM_CAP_DISABLE_QUIRKS2, KVM_X86_QUIRK_SLOT_ZAP_ALL); in run_test()
|
D | set_memory_region_test.c | 188 vm_enable_cap(vm, KVM_CAP_DISABLE_QUIRKS2, KVM_X86_QUIRK_SLOT_ZAP_ALL); in test_move_memory_region() 283 vm_enable_cap(vm, KVM_CAP_DISABLE_QUIRKS2, KVM_X86_QUIRK_SLOT_ZAP_ALL); in test_delete_memory_region()
|
D | dirty_log_perf_test.c | 166 vm_enable_cap(vm, KVM_CAP_MANUAL_DIRTY_LOG_PROTECT2, in run_test()
|
D | dirty_log_test.c | 225 vm_enable_cap(vm, KVM_CAP_MANUAL_DIRTY_LOG_PROTECT2, manual_caps); in clear_log_create_vm_done()
|
D | memslot_perf_test.c | 586 vm_enable_cap(data->vm, KVM_CAP_DISABLE_QUIRKS2, KVM_X86_QUIRK_SLOT_ZAP_ALL); in test_memslot_move_prepare()
|
/linux-6.12.1/tools/testing/selftests/kvm/aarch64/ |
D | psci_test.c | 176 vm_enable_cap(vm, KVM_CAP_ARM_SYSTEM_SUSPEND, 0); in host_test_system_suspend()
|
/linux-6.12.1/tools/testing/selftests/kvm/lib/ |
D | kvm_util.c | 185 vm_enable_cap(vm, KVM_CAP_DIRTY_LOG_RING_ACQ_REL, ring_size); in vm_enable_dirty_ring() 187 vm_enable_cap(vm, KVM_CAP_DIRTY_LOG_RING, ring_size); in vm_enable_dirty_ring()
|
/linux-6.12.1/tools/testing/selftests/kvm/include/ |
D | kvm_util.h | 370 static inline void vm_enable_cap(struct kvm_vm *vm, uint32_t cap, uint64_t arg0) in vm_enable_cap() function
|