Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/kvm/x86_64/ !
Dplatform_info_test.c42 vm_enable_cap(vcpu->vm, KVM_CAP_MSR_PLATFORM_INFO, true); in test_msr_platform_info_enabled()
61 vm_enable_cap(vcpu->vm, KVM_CAP_MSR_PLATFORM_INFO, false); in test_msr_platform_info_disabled()
Dmax_vcpuid_cap_test.c30 vm_enable_cap(vm, KVM_CAP_MAX_VCPU_ID, MAX_VCPU_ID); in main()
Dmonitor_mwait_test.c109 vm_enable_cap(vm, KVM_CAP_DISABLE_QUIRKS2, disabled_quirks); in main()
Dfix_hypercall_test.c118 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.c554 vm_enable_cap(vm, KVM_CAP_X86_USER_SPACE_MSR, KVM_MSR_EXIT_REASON_FILTER); in test_msr_filter_allow()
675 vm_enable_cap(vm, KVM_CAP_X86_USER_SPACE_MSR, KVM_MSR_EXIT_REASON_INVAL | in test_msr_filter_deny()
720 vm_enable_cap(vm, KVM_CAP_X86_USER_SPACE_MSR, KVM_MSR_EXIT_REASON_FILTER); in test_msr_permission_bitmap()
Demulator_error_test.c170 vm_enable_cap(vm, KVM_CAP_EXIT_ON_EMULATION_FAILURE, 1); in main()
Dnested_exceptions_test.c233 vm_enable_cap(vm, KVM_CAP_EXCEPTION_PAYLOAD, -2ul); in main()
Dpmu_event_filter_test.c370 vm_enable_cap(vm, KVM_CAP_PMU_CAPABILITY, KVM_PMU_CAP_DISABLE); in test_pmu_config_disable()
/linux-6.1.9/tools/testing/selftests/kvm/aarch64/ !
Dpsci_test.c177 vm_enable_cap(vm, KVM_CAP_ARM_SYSTEM_SUSPEND, 0); in host_test_system_suspend()
/linux-6.1.9/tools/testing/selftests/kvm/ !
Ddirty_log_perf_test.c238 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()
/linux-6.1.9/tools/testing/selftests/kvm/lib/ !
Dkvm_util.c125 vm_enable_cap(vm, KVM_CAP_DIRTY_LOG_RING_ACQ_REL, ring_size); in vm_enable_dirty_ring()
127 vm_enable_cap(vm, KVM_CAP_DIRTY_LOG_RING, ring_size); in vm_enable_dirty_ring()
/linux-6.1.9/tools/testing/selftests/kvm/include/ !
Dkvm_util_base.h270 static inline void vm_enable_cap(struct kvm_vm *vm, uint32_t cap, uint64_t arg0) in vm_enable_cap() function