Searched refs:kvm_has_cap (Results 1 – 25 of 32) sorted by relevance
12
140 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()
398 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()
28 TEST_REQUIRE(kvm_has_cap(KVM_CAP_GET_MSR_FEATURES)); in main()
212 TEST_REQUIRE(kvm_has_cap(KVM_CAP_NESTED_STATE)); in main()213 TEST_REQUIRE(kvm_has_cap(KVM_CAP_HYPERV_ENLIGHTENED_VMCS)); in main()
78 TEST_REQUIRE(kvm_has_cap(KVM_CAP_MSR_PLATFORM_INFO)); in main()
75 TEST_REQUIRE(kvm_has_cap(KVM_CAP_DISABLE_QUIRKS2)); in main()
72 TEST_REQUIRE(kvm_has_cap(KVM_CAP_DISABLE_QUIRKS2)); in main()
124 TEST_REQUIRE(kvm_has_cap(KVM_CAP_SET_BOOT_CPU_ID)); in main()
96 TEST_REQUIRE(kvm_has_cap(KVM_CAP_VM_TSC_CONTROL)); in main()
71 TEST_REQUIRE(kvm_has_cap(KVM_CAP_X86_TRIPLE_FAULT_EVENT)); in main()
144 TEST_REQUIRE(kvm_has_cap(KVM_CAP_ENFORCE_PV_FEATURE_CPUID)); in main()
156 if (kvm_has_cap(KVM_CAP_NESTED_STATE)) { in main()
259 TEST_REQUIRE(kvm_has_cap(KVM_CAP_VM_DISABLE_NX_HUGE_PAGES)); in main()
162 TEST_REQUIRE(kvm_has_cap(KVM_CAP_SMALLER_MAXPHYADDR)); in main()
172 TEST_REQUIRE(kvm_has_cap(KVM_CAP_NESTED_STATE)); in main()
154 TEST_REQUIRE(kvm_has_cap(KVM_CAP_TSC_CONTROL)); in main()
172 if (kvm_has_cap(KVM_CAP_NESTED_STATE)) { in main()
98 TEST_REQUIRE(kvm_has_cap(KVM_CAP_SET_GUEST_DEBUG)); in main()
229 TEST_REQUIRE(kvm_has_cap(KVM_CAP_EXCEPTION_PAYLOAD)); in main()
64 if (!kvm_has_cap(KVM_CAP_S390_DIAG318)) { in get_diag318_info()
85 TEST_REQUIRE(kvm_has_cap(KVM_CAP_ARM_EL1_32BIT)); in main()
196 TEST_REQUIRE(kvm_has_cap(KVM_CAP_ARM_SYSTEM_SUSPEND)); in main()
214 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()
228 TEST_REQUIRE(kvm_has_cap(KVM_CAP_BINARY_STATS_FD)); in main()
232 TEST_REQUIRE(kvm_has_cap(KVM_CAP_SYNC_REGS)); in main()