Home
last modified time | relevance | path

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

/linux-6.6.21/tools/testing/selftests/kvm/x86_64/
Dplatform_info_test.c41 vm_enable_cap(vcpu->vm, KVM_CAP_MSR_PLATFORM_INFO, true); in test_msr_platform_info_enabled()
56 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()
Dexit_on_emulation_failure_test.c32 vm_enable_cap(vm, KVM_CAP_EXIT_ON_EMULATION_FAILURE, 1); in main()
Dsmaller_maxphyaddr_emulation_test.c70 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.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.c540 vm_enable_cap(vm, KVM_CAP_X86_USER_SPACE_MSR, KVM_MSR_EXIT_REASON_FILTER); in test_msr_filter_allow()
661 vm_enable_cap(vm, KVM_CAP_X86_USER_SPACE_MSR, KVM_MSR_EXIT_REASON_INVAL | in test_msr_filter_deny()
706 vm_enable_cap(vm, KVM_CAP_X86_USER_SPACE_MSR, KVM_MSR_EXIT_REASON_FILTER); in test_msr_permission_bitmap()
Ddirty_log_page_splitting_test.c114 vm_enable_cap(vm, KVM_CAP_MANUAL_DIRTY_LOG_PROTECT2, in run_test()
Dxapic_state_test.c170 vm_enable_cap(vm, KVM_CAP_X2APIC_API, KVM_X2APIC_API_USE_32BIT_IDS); in test_apic_id()
Dnested_exceptions_test.c228 vm_enable_cap(vm, KVM_CAP_EXCEPTION_PAYLOAD, -2ul); in main()
Dpmu_event_filter_test.c389 vm_enable_cap(vm, KVM_CAP_PMU_CAPABILITY, KVM_PMU_CAP_DISABLE); in test_pmu_config_disable()
/linux-6.6.21/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.6.21/tools/testing/selftests/kvm/
Ddirty_log_perf_test.c171 vm_enable_cap(vm, KVM_CAP_MANUAL_DIRTY_LOG_PROTECT2, in run_test()
Ddirty_log_test.c228 vm_enable_cap(vm, KVM_CAP_MANUAL_DIRTY_LOG_PROTECT2, manual_caps); in clear_log_create_vm_done()
/linux-6.6.21/tools/testing/selftests/kvm/lib/
Dkvm_util.c131 vm_enable_cap(vm, KVM_CAP_DIRTY_LOG_RING_ACQ_REL, ring_size); in vm_enable_dirty_ring()
133 vm_enable_cap(vm, KVM_CAP_DIRTY_LOG_RING, ring_size); in vm_enable_dirty_ring()
/linux-6.6.21/tools/testing/selftests/kvm/include/
Dkvm_util_base.h329 static inline void vm_enable_cap(struct kvm_vm *vm, uint32_t cap, uint64_t arg0) in vm_enable_cap() function