Home
last modified time | relevance | path

Searched refs:kvm_has_cap (Results 1 – 25 of 32) sorted by relevance

12

/linux-6.1.9/tools/testing/selftests/kvm/x86_64/
Dhyperv_cpuid.c140 TEST_REQUIRE(kvm_has_cap(KVM_CAP_HYPERV_CPUID)); in main()
152 !kvm_has_cap(KVM_CAP_HYPERV_ENLIGHTENED_VMCS)) { in main()
163 if (!kvm_has_cap(KVM_CAP_SYS_HYPERV_CPUID)) { in main()
Dsev_migrate_tests.c398 TEST_REQUIRE(kvm_has_cap(KVM_CAP_VM_MOVE_ENC_CONTEXT_FROM)); in main()
399 TEST_REQUIRE(kvm_has_cap(KVM_CAP_VM_COPY_ENC_CONTEXT_FROM)); in main()
405 if (kvm_has_cap(KVM_CAP_VM_MOVE_ENC_CONTEXT_FROM)) { in main()
411 if (kvm_has_cap(KVM_CAP_VM_COPY_ENC_CONTEXT_FROM)) in main()
414 if (kvm_has_cap(KVM_CAP_VM_COPY_ENC_CONTEXT_FROM)) { in main()
Dget_msr_index_features.c28 TEST_REQUIRE(kvm_has_cap(KVM_CAP_GET_MSR_FEATURES)); in main()
Devmcs_test.c212 TEST_REQUIRE(kvm_has_cap(KVM_CAP_NESTED_STATE)); in main()
213 TEST_REQUIRE(kvm_has_cap(KVM_CAP_HYPERV_ENLIGHTENED_VMCS)); in main()
Dplatform_info_test.c78 TEST_REQUIRE(kvm_has_cap(KVM_CAP_MSR_PLATFORM_INFO)); in main()
Dvmx_msrs_test.c75 TEST_REQUIRE(kvm_has_cap(KVM_CAP_DISABLE_QUIRKS2)); in main()
Dmonitor_mwait_test.c72 TEST_REQUIRE(kvm_has_cap(KVM_CAP_DISABLE_QUIRKS2)); in main()
Dset_boot_cpu_id.c124 TEST_REQUIRE(kvm_has_cap(KVM_CAP_SET_BOOT_CPU_ID)); in main()
Dtsc_scaling_sync.c96 TEST_REQUIRE(kvm_has_cap(KVM_CAP_VM_TSC_CONTROL)); in main()
Dtriple_fault_event_test.c71 TEST_REQUIRE(kvm_has_cap(KVM_CAP_X86_TRIPLE_FAULT_EVENT)); in main()
Dkvm_pv_test.c144 TEST_REQUIRE(kvm_has_cap(KVM_CAP_ENFORCE_PV_FEATURE_CPUID)); in main()
Dsmm_test.c156 if (kvm_has_cap(KVM_CAP_NESTED_STATE)) { in main()
Dnx_huge_pages_test.c259 TEST_REQUIRE(kvm_has_cap(KVM_CAP_VM_DISABLE_NX_HUGE_PAGES)); in main()
Demulator_error_test.c162 TEST_REQUIRE(kvm_has_cap(KVM_CAP_SMALLER_MAXPHYADDR)); in main()
Dvmx_preemption_timer_test.c172 TEST_REQUIRE(kvm_has_cap(KVM_CAP_NESTED_STATE)); in main()
Dvmx_nested_tsc_scaling_test.c154 TEST_REQUIRE(kvm_has_cap(KVM_CAP_TSC_CONTROL)); in main()
Dstate_test.c172 if (kvm_has_cap(KVM_CAP_NESTED_STATE)) { in main()
Ddebug_regs.c98 TEST_REQUIRE(kvm_has_cap(KVM_CAP_SET_GUEST_DEBUG)); in main()
Dnested_exceptions_test.c229 TEST_REQUIRE(kvm_has_cap(KVM_CAP_EXCEPTION_PAYLOAD)); in main()
/linux-6.1.9/tools/testing/selftests/kvm/lib/s390x/
Ddiag318_test_handler.c64 if (!kvm_has_cap(KVM_CAP_S390_DIAG318)) { in get_diag318_info()
/linux-6.1.9/tools/testing/selftests/kvm/aarch64/
Dvcpu_width_config.c85 TEST_REQUIRE(kvm_has_cap(KVM_CAP_ARM_EL1_32BIT)); in main()
Dpsci_test.c196 TEST_REQUIRE(kvm_has_cap(KVM_CAP_ARM_SYSTEM_SUSPEND)); in main()
/linux-6.1.9/tools/testing/selftests/kvm/
Ddirty_log_test.c214 return kvm_has_cap(KVM_CAP_MANUAL_DIRTY_LOG_PROTECT2); in clear_log_supported()
268 return (kvm_has_cap(KVM_CAP_DIRTY_LOG_RING) || in dirty_ring_supported()
269 kvm_has_cap(KVM_CAP_DIRTY_LOG_RING_ACQ_REL)); in dirty_ring_supported()
Dkvm_binary_stats_test.c228 TEST_REQUIRE(kvm_has_cap(KVM_CAP_BINARY_STATS_FD)); in main()
/linux-6.1.9/tools/testing/selftests/kvm/s390x/
Dsync_regs_test.c232 TEST_REQUIRE(kvm_has_cap(KVM_CAP_SYNC_REGS)); in main()

12