Searched refs:to_vmx (Results 1 – 8 of 8) sorted by relevance
39 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()135 return to_vmx(vcpu)->nested.msrs.misc_low & in nested_cpu_has_vmwrite_any_field()283 u64 fixed0 = to_vmx(vcpu)->nested.msrs.cr0_fixed0; in nested_guest_cr0_valid()284 u64 fixed1 = to_vmx(vcpu)->nested.msrs.cr0_fixed1; in nested_guest_cr0_valid()297 u64 fixed0 = to_vmx(vcpu)->nested.msrs.cr0_fixed0; in nested_host_cr0_valid()298 u64 fixed1 = to_vmx(vcpu)->nested.msrs.cr0_fixed1; in nested_host_cr0_valid()[all …]
891 if (to_vmx(vcpu)->rmode.vm86_active) in vmx_update_exception_bitmap()1283 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_prepare_switch_to_guest()1414 struct vcpu_vmx *vmx = to_vmx(vcpu); in grow_ple_window()1430 struct vcpu_vmx *vmx = to_vmx(vcpu); in shrink_ple_window()1447 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_vcpu_load_vmcs()1540 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_get_rflags()1558 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_set_rflags()3237 return to_vmx(vcpu)->vpid; in vmx_get_current_vpid()3315 if (to_vmx(vcpu)->nested.vmxon) in vmx_is_valid_cr0()7576 vmx = to_vmx(vcpu); in vmx_vcpu_create()[all …]
191 struct vcpu_vmx *vmx = to_vmx(vcpu); in nested_vmx_fail()232 struct vcpu_vmx *vmx = to_vmx(vcpu); in nested_release_evmcs()249 struct vcpu_vmx *vmx = to_vmx(vcpu); in nested_evmcs_handle_vmclear()294 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_switch_vmcs()319 struct vcpu_vmx *vmx = to_vmx(vcpu); in nested_put_vmcs12_pages()333 struct vcpu_vmx *vmx = to_vmx(vcpu); in free_nested()412 struct vcpu_vmx *vmx = to_vmx(vcpu); in nested_ept_inject_page_fault()465 struct vcpu_vmx *vmx = to_vmx(vcpu); in nested_ept_new_eptp()623 struct vcpu_vmx *vmx = to_vmx(vcpu); in nested_vmx_prepare_msr_bitmap()727 struct vcpu_vmx *vmx = to_vmx(vcpu); in nested_cache_shadow_vmcs12()[all …]
42 (!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()
38 return &(to_vmx(vcpu)->pi_desc); in vcpu_to_pi_desc()58 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_vcpu_pi_load()162 struct vcpu_vmx *vmx = to_vmx(vcpu); in pi_enable_wakeup_handler()
660 static __always_inline struct vcpu_vmx *to_vmx(struct kvm_vcpu *vcpu) in to_vmx() function667 return &to_vmx(vcpu)->lbr_desc; in vcpu_to_lbr_desc()686 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_get_exit_qual()696 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_get_intr_info()734 (secondary_exec_controls_get(to_vmx(vcpu)) & in is_unrestricted_guest()
299 struct vcpu_vmx *vmx = to_vmx(vcpu); in handle_encls_einit()377 return (to_vmx(vcpu)->msr_ia32_feature_control & bits) == bits; in sgx_enabled_in_guest_bios()429 struct vcpu_vmx *vmx = to_vmx(vcpu); in vcpu_setup_sgx_lepubkeyhash()
52 to_vmx(vcpu)->nested.enlightened_vmcs_enabled; in guest_cpu_cap_has_evmcs()