Home
last modified time | relevance | path

Searched refs:X86_FEATURE_VMX (Results 1 – 22 of 22) sorted by relevance

/tools/testing/selftests/kvm/x86/
A Dvmx_msrs_test.c102 __ia32_feature_control_msr_test(vcpu, FEAT_CTL_VMX_ENABLED_INSIDE_SMX, X86_FEATURE_VMX); in ia32_feature_control_msr_test()
103 __ia32_feature_control_msr_test(vcpu, FEAT_CTL_VMX_ENABLED_OUTSIDE_SMX, X86_FEATURE_VMX); in ia32_feature_control_msr_test()
122 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_VMX)); in main()
A Dkvm_buslock_test.c65 else if (this_cpu_has(X86_FEATURE_VMX)) in guest_code()
75 const bool has_nested = kvm_cpu_has(X86_FEATURE_SVM) || kvm_cpu_has(X86_FEATURE_VMX); in main()
A Dhyperv_cpuid.c148 if (!kvm_cpu_has(X86_FEATURE_VMX) || in main()
164 test_hv_cpuid(NULL, kvm_cpu_has(X86_FEATURE_VMX)); in main()
A Dvmx_set_nested_state_test.c124 vcpu_set_cpuid_feature(vcpu, X86_FEATURE_VMX); in test_vmx_nested_state()
264 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_VMX)); in main()
271 vcpu_clear_cpuid_feature(vcpu, X86_FEATURE_VMX); in main()
A Dvmx_close_while_nested_test.c54 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_VMX)); in main()
A Daperfmperf_test.c100 else if (this_cpu_has(X86_FEATURE_VMX)) in guest_code()
124 const bool has_nested = kvm_cpu_has(X86_FEATURE_SVM) || kvm_cpu_has(X86_FEATURE_VMX); in main()
A Dvmx_invalid_nested_guest_state.c61 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_VMX)); in main()
A Dvmx_apic_access_test.c83 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_VMX)); in main()
A Dtriple_fault_event_test.c66 bool has_vmx = kvm_cpu_has(X86_FEATURE_VMX); in main()
A Dvmx_tsc_adjust_test.c125 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_VMX)); in main()
A Dvmx_dirty_log_test.c171 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_VMX)); in main()
A Dsmm_test.c157 else if (kvm_cpu_has(X86_FEATURE_VMX)) in main()
A Dnested_emulation_test.c130 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_SVM) || kvm_cpu_has(X86_FEATURE_VMX)); in main()
A Dvmx_nested_tsc_scaling_test.c132 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_VMX)); in main()
A Dset_sregs_test.c57 if (kvm_cpu_has(X86_FEATURE_VMX)) in calc_supported_cr4_feature_bits()
A Dvmx_preemption_timer_test.c168 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_VMX)); in main()
A Dstate_test.c245 else if (kvm_cpu_has(X86_FEATURE_VMX)) in main()
A Dhyperv_evmcs.c242 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_VMX)); in main()
A Dnested_exceptions_test.c225 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_SVM) || kvm_cpu_has(X86_FEATURE_VMX)); in main()
/tools/testing/selftests/kvm/lib/x86/
A Dmemstress.c87 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_VMX)); in memstress_setup_nested()
/tools/arch/x86/include/asm/
A Dcpufeatures.h111 #define X86_FEATURE_VMX ( 4*32+ 5) /* "vmx" Hardware virtualization */ macro
/tools/testing/selftests/kvm/include/x86/
A Dprocessor.h135 #define X86_FEATURE_VMX KVM_X86_CPU_FEATURE(0x1, 0, ECX, 5) macro

Completed in 25 milliseconds