Home
last modified time | relevance | path

Searched refs:to_vmx (Results 1 – 9 of 9) sorted by relevance

/linux/arch/x86/kvm/vmx/
H A Dnested.h40 if (to_vmx(vcpu)->fail || vm_exit_reason == -1 || in nested_vmx_vmexit()
63 return to_vmx(vcpu)->nested.cached_vmcs12; in get_vmcs12()
71 return to_vmx(vcpu)->nested.cached_shadow_vmcs12; in get_shadow_vmcs12()
81 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_has_valid_vmcs12()
90 struct vcpu_vmx *vmx = to_vmx(vcpu); in nested_get_vpid02()
125 return vmx_misc_cr3_count(to_vmx(vcpu)->nested.msrs.misc_low); in nested_cpu_vmx_misc_cr3_count()
135 return to_vmx(vcpu)->nested.msrs.misc_low & in nested_cpu_has_vmwrite_any_field()
141 return to_vmx(vcpu)->nested.msrs.misc_low & VMX_MISC_ZERO_LEN_INS; in nested_cpu_has_zero_length_injection()
146 return to_vmx(vcpu)->nested.msrs.procbased_ctls_high & in nested_cpu_supports_monitor_trap_flag()
152 return to_vmx(vcpu)->nested.msrs.secondary_ctls_high & in nested_cpu_has_vmx_shadow_vmcs()
[all …]
H A Dvmx.c635 evmcs = (struct hv_enlightened_vmcs *)to_vmx(vcpu)->loaded_vmcs->vmcs; in hv_enable_l2_tlb_flush()
951 if (to_vmx(vcpu)->rmode.vm86_active) in vmx_update_exception_bitmap()
1351 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_prepare_switch_to_guest()
1496 struct vcpu_vmx *vmx = to_vmx(vcpu); in grow_ple_window()
1512 struct vcpu_vmx *vmx = to_vmx(vcpu); in shrink_ple_window()
1528 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_vcpu_load_vmcs()
1600 vmx_prepare_switch_to_host(to_vmx(vcpu)); in vmx_vcpu_put()
1606 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_switch_loaded_vmcs()
1617 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_load_vmcs01()
1633 vmx_switch_loaded_vmcs(vcpu, &to_vmx(vcpu)->nested.vmcs02); in vmx_put_vmcs01()
[all …]
H A Dnested.c188 if (nested_vmx_is_evmptr12_set(to_vmx(vcpu))) in nested_vmx_failValid()
189 to_vmx(vcpu)->nested.need_vmcs12_to_shadow_sync = true; in nested_vmx_failValid()
196 struct vcpu_vmx *vmx = to_vmx(vcpu); in nested_vmx_fail()
237 struct vcpu_vmx *vmx = to_vmx(vcpu); in nested_release_evmcs()
254 struct vcpu_vmx *vmx = to_vmx(vcpu); in nested_evmcs_handle_vmclear()
299 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_switch_vmcs()
324 struct vcpu_vmx *vmx = to_vmx(vcpu); in nested_put_vmcs12_pages()
338 struct vcpu_vmx *vmx = to_vmx(vcpu); in free_nested()
417 struct vcpu_vmx *vmx = to_vmx(vcpu); in nested_ept_inject_page_fault()
470 struct vcpu_vmx *vmx = to_vmx(vcpu); in nested_ept_new_eptp()
[all …]
H A Dhyperv.c42 (!vcpu || to_vmx(vcpu)->nested.enlightened_vmcs_enabled)) in nested_get_evmcs_version()
202 struct vcpu_vmx *vmx = to_vmx(vcpu); in nested_enable_evmcs()
215 struct vcpu_vmx *vmx = to_vmx(vcpu); in nested_evmcs_l2_tlb_flush_enabled()
H A Dsgx.c300 struct vcpu_vmx *vmx = to_vmx(vcpu); in handle_encls_einit()
378 return (to_vmx(vcpu)->msr_ia32_feature_control & bits) == bits; in sgx_enabled_in_guest_bios()
430 struct vcpu_vmx *vmx = to_vmx(vcpu); in vcpu_setup_sgx_lepubkeyhash()
H A Dhyperv.h52 to_vmx(vcpu)->nested.enlightened_vmcs_enabled; in guest_cpu_cap_has_evmcs()
H A Dpmu_intel.c44 return &to_vmx(vcpu)->lbr_desc; in vcpu_to_lbr_desc()
52 return &to_vmx(vcpu)->lbr_desc.records; in vcpu_to_lbr_records()
55 #pragma GCC poison to_vmx
H A Dvmx.h660 static __always_inline struct vcpu_vmx *to_vmx(struct kvm_vcpu *vcpu) in to_vmx() function
698 (secondary_exec_controls_get(to_vmx(vcpu)) & in is_unrestricted_guest()
H A Dtdx.c22 #pragma GCC poison to_vmx