Home
last modified time | relevance | path

Searched refs:vm_enable_cap (Results 1 – 23 of 23) sorted by relevance

/linux-6.12.1/tools/testing/selftests/kvm/x86_64/
Dexit_on_emulation_failure_test.c29 vm_enable_cap(vm, KVM_CAP_EXIT_ON_EMULATION_FAILURE, 1); in main()
Dmax_vcpuid_cap_test.c40 vm_enable_cap(vm, KVM_CAP_MAX_VCPU_ID, MAX_VCPU_ID); in main()
Dplatform_info_test.c62 vm_enable_cap(vm, KVM_CAP_MSR_PLATFORM_INFO, uc.args[1]); in main()
Dsmaller_maxphyaddr_emulation_test.c64 vm_enable_cap(vm, KVM_CAP_EXIT_ON_EMULATION_FAILURE, 1); in main()
Dmonitor_mwait_test.c107 vm_enable_cap(vm, KVM_CAP_DISABLE_QUIRKS2, disabled_quirks); in main()
Dfix_hypercall_test.c116 vm_enable_cap(vm, KVM_CAP_DISABLE_QUIRKS2, in test_fix_hypercall()
Dtriple_fault_event_test.c88 vm_enable_cap(vm, KVM_CAP_X86_TRIPLE_FAULT_EVENT, 1); in main()
Duserspace_msr_exit_test.c521 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()
Dapic_bus_clock_test.c137 vm_enable_cap(vm, KVM_CAP_X86_APIC_BUS_CYCLES_NS, in run_apic_bus_clock_test()
Dkvm_pv_test.c160 vm_enable_cap(vm, KVM_CAP_X86_DISABLE_EXITS, KVM_X86_DISABLE_EXITS_HLT); in test_pv_unhalt()
Ddirty_log_page_splitting_test.c117 vm_enable_cap(vm, KVM_CAP_MANUAL_DIRTY_LOG_PROTECT2, in run_test()
Dnested_exceptions_test.c226 vm_enable_cap(vm, KVM_CAP_EXCEPTION_PAYLOAD, -2ul); in main()
Dxapic_state_test.c180 vm_enable_cap(vm, KVM_CAP_X2APIC_API, KVM_X2APIC_API_USE_32BIT_IDS); in test_apic_id()
Dprivate_mem_conversions_test.c395 vm_enable_cap(vm, KVM_CAP_EXIT_HYPERCALL, (1 << KVM_HC_MAP_GPA_RANGE)); in test_mem_conversions()
Dpmu_event_filter_test.c334 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/
Dmemslot_modification_stress_test.c95 vm_enable_cap(vm, KVM_CAP_DISABLE_QUIRKS2, KVM_X86_QUIRK_SLOT_ZAP_ALL); in run_test()
Dset_memory_region_test.c188 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()
Ddirty_log_perf_test.c166 vm_enable_cap(vm, KVM_CAP_MANUAL_DIRTY_LOG_PROTECT2, in run_test()
Ddirty_log_test.c225 vm_enable_cap(vm, KVM_CAP_MANUAL_DIRTY_LOG_PROTECT2, manual_caps); in clear_log_create_vm_done()
Dmemslot_perf_test.c586 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/
Dpsci_test.c176 vm_enable_cap(vm, KVM_CAP_ARM_SYSTEM_SUSPEND, 0); in host_test_system_suspend()
/linux-6.12.1/tools/testing/selftests/kvm/lib/
Dkvm_util.c185 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/
Dkvm_util.h370 static inline void vm_enable_cap(struct kvm_vm *vm, uint32_t cap, uint64_t arg0) in vm_enable_cap() function