Searched refs:kvm_has_cap (Results 1 – 25 of 51) sorted by relevance
123
135 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()
374 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()
138 TEST_REQUIRE(kvm_has_cap(KVM_CAP_X86_SMM)); in main()154 if (kvm_has_cap(KVM_CAP_NESTED_STATE)) { in main()
28 TEST_REQUIRE(kvm_has_cap(KVM_CAP_GET_MSR_FEATURES)); in main()
26 TEST_REQUIRE(kvm_has_cap(KVM_CAP_EXIT_ON_EMULATION_FAILURE)); in main()
30 if (kvm_has_cap(KVM_CAP_SET_BOOT_CPU_ID)) { in main()
48 TEST_REQUIRE(kvm_has_cap(KVM_CAP_MSR_PLATFORM_INFO)); in main()
243 TEST_REQUIRE(kvm_has_cap(KVM_CAP_NESTED_STATE)); in main()244 TEST_REQUIRE(kvm_has_cap(KVM_CAP_HYPERV_ENLIGHTENED_VMCS)); in main()
55 TEST_REQUIRE(kvm_has_cap(KVM_CAP_SMALLER_MAXPHYADDR)); in main()
88 TEST_REQUIRE(kvm_has_cap(KVM_CAP_VM_TSC_CONTROL)); in main()
79 TEST_REQUIRE(kvm_has_cap(KVM_CAP_DISABLE_QUIRKS2)); in main()
46 TEST_REQUIRE(kvm_has_cap(KVM_CAP_HYPERV_CPUID)); in main()
71 TEST_REQUIRE(kvm_has_cap(KVM_CAP_X86_TRIPLE_FAULT_EVENT)); in main()
139 TEST_REQUIRE(kvm_has_cap(KVM_CAP_SET_BOOT_CPU_ID)); in main()
175 TEST_REQUIRE(kvm_has_cap(KVM_CAP_X86_APIC_BUS_CYCLES_NS)); in main()
178 TEST_REQUIRE(kvm_has_cap(KVM_CAP_ENFORCE_PV_FEATURE_CPUID)); in main()
121 TEST_REQUIRE(kvm_has_cap(KVM_CAP_DISABLE_QUIRKS2)); in main()
133 TEST_REQUIRE(kvm_has_cap(KVM_CAP_TSC_CONTROL)); in main()
63 if (!kvm_has_cap(KVM_CAP_S390_DIAG318)) { in get_diag318_info()
45 TEST_REQUIRE(kvm_has_cap(KVM_CAP_SET_GUEST_DEBUG)); in main()
192 TEST_REQUIRE(kvm_has_cap(KVM_CAP_COALESCED_MMIO)); in main()195 TEST_REQUIRE(kvm_has_cap(KVM_CAP_COALESCED_PIO)); in main()
214 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()
85 TEST_REQUIRE(kvm_has_cap(KVM_CAP_ARM_EL1_32BIT)); in main()
72 if (!kvm_has_cap(KVM_CAP_SYS_HYPERV_CPUID)) in kvm_hv_cpu_has()
681 TEST_REQUIRE(kvm_has_cap(KVM_CAP_SYNC_REGS)); in main()682 TEST_REQUIRE(kvm_has_cap(KVM_CAP_S390_CMMA_MIGRATION)); in main()