/linux-6.6.21/arch/x86/kernel/cpu/ |
D | feat_ctl.c | 120 clear_cpu_cap(c, X86_FEATURE_VMX); in init_ia32_feat_ctl() 125 enable_vmx = cpu_has(c, X86_FEATURE_VMX) && in init_ia32_feat_ctl() 171 if (!cpu_has(c, X86_FEATURE_VMX)) in init_ia32_feat_ctl() 179 clear_cpu_cap(c, X86_FEATURE_VMX); in init_ia32_feat_ctl() 198 if (!cpu_has(c, X86_FEATURE_VMX) && enable_sgx_kvm) { in init_ia32_feat_ctl()
|
D | proc.c | 107 if (cpu_has(c, X86_FEATURE_VMX) && c->vmx_capability[0]) { in show_cpuinfo()
|
/linux-6.6.21/tools/testing/selftests/kvm/x86_64/ |
D | vmx_msrs_test.c | 102 __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()
|
D | hyperv_cpuid.c | 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()
|
D | vmx_set_nested_state_test.c | 124 vcpu_set_cpuid_feature(vcpu, X86_FEATURE_VMX); in test_vmx_nested_state() 260 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_VMX)); in main() 267 vcpu_clear_cpuid_feature(vcpu, X86_FEATURE_VMX); in main()
|
D | vmx_close_while_nested_test.c | 54 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_VMX)); in main()
|
D | vmx_invalid_nested_guest_state.c | 61 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_VMX)); in main()
|
D | vmx_apic_access_test.c | 83 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_VMX)); in main()
|
D | triple_fault_event_test.c | 66 bool has_vmx = kvm_cpu_has(X86_FEATURE_VMX); in main()
|
D | vmx_dirty_log_test.c | 79 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_VMX)); in main()
|
D | vmx_tsc_adjust_test.c | 125 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_VMX)); in main()
|
D | smm_test.c | 158 else if (kvm_cpu_has(X86_FEATURE_VMX)) in main()
|
D | set_sregs_test.c | 56 if (kvm_cpu_has(X86_FEATURE_VMX)) in calc_supported_cr4_feature_bits()
|
D | vmx_nested_tsc_scaling_test.c | 149 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_VMX)); in main()
|
D | vmx_preemption_timer_test.c | 169 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_VMX)); in main()
|
D | nested_exceptions_test.c | 225 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_SVM) || kvm_cpu_has(X86_FEATURE_VMX)); in main()
|
D | state_test.c | 251 else if (kvm_cpu_has(X86_FEATURE_VMX)) in main()
|
D | hyperv_evmcs.c | 245 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_VMX)); in main()
|
/linux-6.6.21/tools/testing/selftests/kvm/lib/x86_64/ |
D | memstress.c | 87 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_VMX)); in memstress_setup_nested()
|
/linux-6.6.21/tools/arch/x86/include/asm/ |
D | cpufeatures.h | 121 #define X86_FEATURE_VMX ( 4*32+ 5) /* Hardware virtualization */ macro
|
/linux-6.6.21/arch/x86/kernel/cpu/sgx/ |
D | virt.c | 311 if (!cpu_feature_enabled(X86_FEATURE_VMX)) in sgx_vepc_init()
|
/linux-6.6.21/arch/x86/include/asm/ |
D | cpufeatures.h | 121 #define X86_FEATURE_VMX ( 4*32+ 5) /* Hardware virtualization */ macro
|
/linux-6.6.21/arch/x86/kvm/ |
D | x86.h | 528 if (!__cpu_has(__c, X86_FEATURE_VMX)) \
|
/linux-6.6.21/arch/x86/kvm/vmx/ |
D | hyperv.c | 453 if (kvm_cpu_cap_get(X86_FEATURE_VMX) && in nested_get_evmcs_version()
|
D | vmx.c | 75 X86_MATCH_FEATURE(X86_FEATURE_VMX, NULL), 2062 if (!guest_can_use(vcpu, X86_FEATURE_VMX)) in vmx_get_msr() 2370 if (!guest_can_use(vcpu, X86_FEATURE_VMX)) in vmx_set_msr() 2754 !this_cpu_has(X86_FEATURE_VMX)) { in __kvm_is_vmx_supported() 7777 kvm_governed_feature_check_and_set(vcpu, X86_FEATURE_VMX); in vmx_vcpu_after_set_cpuid() 7785 if (guest_can_use(vcpu, X86_FEATURE_VMX)) in vmx_vcpu_after_set_cpuid() 7794 if (guest_can_use(vcpu, X86_FEATURE_VMX)) in vmx_vcpu_after_set_cpuid() 7874 kvm_cpu_cap_set(X86_FEATURE_VMX); in vmx_set_cpu_caps()
|