Home
last modified time | relevance | path

Searched refs:kvm_check_cap (Results 1 – 25 of 36) sorted by relevance

12

/tools/testing/selftests/kvm/x86_64/
Dhyperv_cpuid.c136 if (!kvm_check_cap(KVM_CAP_HYPERV_CPUID)) { in main()
151 !kvm_check_cap(KVM_CAP_HYPERV_ENLIGHTENED_VMCS)) { in main()
162 if (!kvm_check_cap(KVM_CAP_SYS_HYPERV_CPUID)) { in main()
Duserspace_msr_exit_test.c565 rc = kvm_check_cap(KVM_CAP_X86_USER_SPACE_MSR); in test_msr_filter_allow()
569 rc = kvm_check_cap(KVM_CAP_X86_MSR_FILTER); in test_msr_filter_allow()
692 rc = kvm_check_cap(KVM_CAP_X86_USER_SPACE_MSR); in test_msr_filter_deny()
696 rc = kvm_check_cap(KVM_CAP_X86_MSR_FILTER); in test_msr_filter_deny()
741 rc = kvm_check_cap(KVM_CAP_X86_USER_SPACE_MSR); in test_msr_permission_bitmap()
745 rc = kvm_check_cap(KVM_CAP_X86_MSR_FILTER); in test_msr_permission_bitmap()
Devmcs_test.c154 !kvm_check_cap(KVM_CAP_NESTED_STATE) || in main()
155 !kvm_check_cap(KVM_CAP_HYPERV_ENLIGHTENED_VMCS)) { in main()
Demulator_error_test.c181 if (!kvm_check_cap(KVM_CAP_SMALLER_MAXPHYADDR)) { in main()
194 rc = kvm_check_cap(KVM_CAP_EXIT_ON_EMULATION_FAILURE); in main()
Dplatform_info_test.c89 rv = kvm_check_cap(KVM_CAP_MSR_PLATFORM_INFO); in main()
Dvmx_set_nested_state_test.c268 have_evmcs = kvm_check_cap(KVM_CAP_HYPERV_ENLIGHTENED_VMCS); in main()
270 if (!kvm_check_cap(KVM_CAP_NESTED_STATE)) { in main()
Dget_msr_index_features.c126 if (kvm_check_cap(KVM_CAP_GET_MSR_FEATURES)) in main()
Dset_boot_cpu_id.c150 if (!kvm_check_cap(KVM_CAP_SET_BOOT_CPU_ID)) { in main()
Dxen_vmcall_test.c88 if (!(kvm_check_cap(KVM_CAP_XEN_HVM) & in main()
Dsmm_test.c159 if (kvm_check_cap(KVM_CAP_NESTED_STATE)) { in main()
Dvmx_nested_tsc_scaling_test.c124 if (!kvm_check_cap(KVM_CAP_TSC_CONTROL)) { in tsc_scaling_check_supported()
Dkvm_pv_test.c213 if (!kvm_check_cap(KVM_CAP_ENFORCE_PV_FEATURE_CPUID)) { in main()
Dvmx_preemption_timer_test.c172 if (!kvm_check_cap(KVM_CAP_NESTED_STATE)) { in main()
Dstate_test.c172 if (kvm_check_cap(KVM_CAP_NESTED_STATE)) { in main()
Ddebug_regs.c99 if (!kvm_check_cap(KVM_CAP_SET_GUEST_DEBUG)) { in main()
/tools/testing/selftests/kvm/
Dkvm_create_max_vcpus.c42 int kvm_max_vcpu_id = kvm_check_cap(KVM_CAP_MAX_VCPU_ID); in main()
43 int kvm_max_vcpus = kvm_check_cap(KVM_CAP_MAX_VCPUS); in main()
Dmemslot_modification_stress_test.c169 int max_vcpus = kvm_check_cap(KVM_CAP_MAX_VCPUS); in main()
Ddirty_log_perf_test.c344 int max_vcpus = kvm_check_cap(KVM_CAP_MAX_VCPUS); in main()
355 kvm_check_cap(KVM_CAP_MANUAL_DIRTY_LOG_PROTECT2); in main()
Ddirty_log_test.c215 return kvm_check_cap(KVM_CAP_MANUAL_DIRTY_LOG_PROTECT2); in clear_log_supported()
223 manual_caps = kvm_check_cap(KVM_CAP_MANUAL_DIRTY_LOG_PROTECT2); in clear_log_create_vm_done()
272 return kvm_check_cap(KVM_CAP_DIRTY_LOG_RING); in dirty_ring_supported()
Dkvm_binary_stats_test.c223 if (kvm_check_cap(KVM_CAP_BINARY_STATS_FD) <= 0) { in main()
/tools/testing/selftests/kvm/lib/s390x/
Ddiag318_test_handler.c65 if (!kvm_check_cap(KVM_CAP_S390_DIAG318)) { in get_diag318_info()
/tools/testing/selftests/kvm/lib/
Dguest_modes.c16 unsigned int limit = kvm_check_cap(KVM_CAP_ARM_VM_IPA_SIZE); in guest_modes_append_default()
/tools/testing/selftests/kvm/s390x/
Dmemop.c41 maxsize = kvm_check_cap(KVM_CAP_S390_MEM_OP); in main()
Dsync_regs_test.c88 cap = kvm_check_cap(KVM_CAP_SYNC_REGS); in main()
Dresets.c274 if (kvm_check_cap(KVM_CAP_S390_VCPU_RESETS)) { in main()

12