Searched refs:kvm_cpu_has (Results 1 – 25 of 32) sorted by relevance
12
52 if (kvm_cpu_has(X86_FEATURE_UMIP)) in calc_supported_cr4_feature_bits()54 if (kvm_cpu_has(X86_FEATURE_LA57)) in calc_supported_cr4_feature_bits()56 if (kvm_cpu_has(X86_FEATURE_VMX)) in calc_supported_cr4_feature_bits()58 if (kvm_cpu_has(X86_FEATURE_SMX)) in calc_supported_cr4_feature_bits()60 if (kvm_cpu_has(X86_FEATURE_FSGSBASE)) in calc_supported_cr4_feature_bits()62 if (kvm_cpu_has(X86_FEATURE_PCID)) in calc_supported_cr4_feature_bits()64 if (kvm_cpu_has(X86_FEATURE_XSAVE)) in calc_supported_cr4_feature_bits()66 if (kvm_cpu_has(X86_FEATURE_SMEP)) in calc_supported_cr4_feature_bits()68 if (kvm_cpu_has(X86_FEATURE_SMAP)) in calc_supported_cr4_feature_bits()70 if (kvm_cpu_has(X86_FEATURE_PKU)) in calc_supported_cr4_feature_bits()
232 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_XFD)); in main()233 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_XSAVE)); in main()234 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_AMX_TILE)); in main()235 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_XTILECFG)); in main()236 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_XTILEDATA)); in main()237 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_XTILEDATA_XFD)); in main()
66 bool has_vmx = kvm_cpu_has(X86_FEATURE_VMX); in main()67 bool has_svm = kvm_cpu_has(X86_FEATURE_SVM); in main()
148 if (!kvm_cpu_has(X86_FEATURE_VMX) || in main()168 test_hv_cpuid(hv_cpuid_entries, kvm_cpu_has(X86_FEATURE_VMX)); in main()
225 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_SVM) || kvm_cpu_has(X86_FEATURE_VMX)); in main()230 if (kvm_cpu_has(X86_FEATURE_SVM)) in main()
156 if (kvm_cpu_has(X86_FEATURE_SVM)) in main()158 else if (kvm_cpu_has(X86_FEATURE_VMX)) in main()
85 if (!kvm_cpu_has(feature)) in __ia32_feature_control_msr_test()122 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_VMX)); in main()
202 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_SVM)); in main()204 TEST_ASSERT(kvm_cpu_has(X86_FEATURE_NRIPS), in main()
28 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_XSAVES)); in main()
57 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_XSAVE)); in main()
54 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_VMX)); in main()
48 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_SVM)); in main()
42 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_SVM)); in main()
249 if (kvm_cpu_has(X86_FEATURE_SVM)) in main()251 else if (kvm_cpu_has(X86_FEATURE_VMX)) in main()
61 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_VMX)); in main()
92 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_SVM)); in main()
107 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_XSAVE)); in main()
83 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_VMX)); in main()
79 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_VMX)); in main()
125 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_VMX)); in main()
401 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_SEV)); in main()403 have_sev_es = kvm_cpu_has(X86_FEATURE_SEV_ES); in main()
149 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_VMX)); in main()
169 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_VMX)); in main()
160 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_SVM)); in main()
87 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_VMX)); in memstress_setup_nested()