Home
last modified time | relevance | path

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

123

/linux-6.12.1/tools/testing/selftests/kvm/x86_64/
Dhyperv_cpuid.c135 TEST_REQUIRE(kvm_has_cap(KVM_CAP_HYPERV_CPUID)); in main()
147 !kvm_has_cap(KVM_CAP_HYPERV_ENLIGHTENED_VMCS)) { in main()
158 if (!kvm_has_cap(KVM_CAP_SYS_HYPERV_CPUID)) { in main()
Dsev_migrate_tests.c374 TEST_REQUIRE(kvm_has_cap(KVM_CAP_VM_MOVE_ENC_CONTEXT_FROM)); in main()
375 TEST_REQUIRE(kvm_has_cap(KVM_CAP_VM_COPY_ENC_CONTEXT_FROM)); in main()
381 if (kvm_has_cap(KVM_CAP_VM_MOVE_ENC_CONTEXT_FROM)) { in main()
387 if (kvm_has_cap(KVM_CAP_VM_COPY_ENC_CONTEXT_FROM)) in main()
390 if (kvm_has_cap(KVM_CAP_VM_COPY_ENC_CONTEXT_FROM)) { in main()
Dsmm_test.c138 TEST_REQUIRE(kvm_has_cap(KVM_CAP_X86_SMM)); in main()
154 if (kvm_has_cap(KVM_CAP_NESTED_STATE)) { in main()
Dget_msr_index_features.c28 TEST_REQUIRE(kvm_has_cap(KVM_CAP_GET_MSR_FEATURES)); in main()
Dexit_on_emulation_failure_test.c26 TEST_REQUIRE(kvm_has_cap(KVM_CAP_EXIT_ON_EMULATION_FAILURE)); in main()
Dmax_vcpuid_cap_test.c30 if (kvm_has_cap(KVM_CAP_SET_BOOT_CPU_ID)) { in main()
Dplatform_info_test.c48 TEST_REQUIRE(kvm_has_cap(KVM_CAP_MSR_PLATFORM_INFO)); in main()
Dhyperv_evmcs.c243 TEST_REQUIRE(kvm_has_cap(KVM_CAP_NESTED_STATE)); in main()
244 TEST_REQUIRE(kvm_has_cap(KVM_CAP_HYPERV_ENLIGHTENED_VMCS)); in main()
Dsmaller_maxphyaddr_emulation_test.c55 TEST_REQUIRE(kvm_has_cap(KVM_CAP_SMALLER_MAXPHYADDR)); in main()
Dtsc_scaling_sync.c88 TEST_REQUIRE(kvm_has_cap(KVM_CAP_VM_TSC_CONTROL)); in main()
Dmonitor_mwait_test.c79 TEST_REQUIRE(kvm_has_cap(KVM_CAP_DISABLE_QUIRKS2)); in main()
Dhyperv_extended_hypercalls.c46 TEST_REQUIRE(kvm_has_cap(KVM_CAP_HYPERV_CPUID)); in main()
Dtriple_fault_event_test.c71 TEST_REQUIRE(kvm_has_cap(KVM_CAP_X86_TRIPLE_FAULT_EVENT)); in main()
Dset_boot_cpu_id.c139 TEST_REQUIRE(kvm_has_cap(KVM_CAP_SET_BOOT_CPU_ID)); in main()
Dapic_bus_clock_test.c175 TEST_REQUIRE(kvm_has_cap(KVM_CAP_X86_APIC_BUS_CYCLES_NS)); in main()
Dkvm_pv_test.c178 TEST_REQUIRE(kvm_has_cap(KVM_CAP_ENFORCE_PV_FEATURE_CPUID)); in main()
Dvmx_msrs_test.c121 TEST_REQUIRE(kvm_has_cap(KVM_CAP_DISABLE_QUIRKS2)); in main()
Dvmx_nested_tsc_scaling_test.c133 TEST_REQUIRE(kvm_has_cap(KVM_CAP_TSC_CONTROL)); in main()
/linux-6.12.1/tools/testing/selftests/kvm/lib/s390x/
Ddiag318_test_handler.c63 if (!kvm_has_cap(KVM_CAP_S390_DIAG318)) { in get_diag318_info()
/linux-6.12.1/tools/testing/selftests/kvm/riscv/
Debreak_test.c45 TEST_REQUIRE(kvm_has_cap(KVM_CAP_SET_GUEST_DEBUG)); in main()
/linux-6.12.1/tools/testing/selftests/kvm/
Dcoalesced_io_test.c192 TEST_REQUIRE(kvm_has_cap(KVM_CAP_COALESCED_MMIO)); in main()
195 TEST_REQUIRE(kvm_has_cap(KVM_CAP_COALESCED_PIO)); in main()
Ddirty_log_test.c214 return kvm_has_cap(KVM_CAP_MANUAL_DIRTY_LOG_PROTECT2); in clear_log_supported()
270 return (kvm_has_cap(KVM_CAP_DIRTY_LOG_RING) || in dirty_ring_supported()
271 kvm_has_cap(KVM_CAP_DIRTY_LOG_RING_ACQ_REL)); in dirty_ring_supported()
/linux-6.12.1/tools/testing/selftests/kvm/aarch64/
Dvcpu_width_config.c85 TEST_REQUIRE(kvm_has_cap(KVM_CAP_ARM_EL1_32BIT)); in main()
/linux-6.12.1/tools/testing/selftests/kvm/lib/x86_64/
Dhyperv.c72 if (!kvm_has_cap(KVM_CAP_SYS_HYPERV_CPUID)) in kvm_hv_cpu_has()
/linux-6.12.1/tools/testing/selftests/kvm/s390x/
Dcmma_test.c681 TEST_REQUIRE(kvm_has_cap(KVM_CAP_SYNC_REGS)); in main()
682 TEST_REQUIRE(kvm_has_cap(KVM_CAP_S390_CMMA_MIGRATION)); in main()

123