Home
last modified time | relevance | path

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

/Linux-v5.15/arch/x86/kvm/vmx/
Dnested.h42 return to_vmx(vcpu)->nested.cached_vmcs12; in get_vmcs12()
47 return to_vmx(vcpu)->nested.cached_shadow_vmcs12; in get_shadow_vmcs12()
57 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_has_valid_vmcs12()
66 struct vcpu_vmx *vmx = to_vmx(vcpu); in nested_get_vpid02()
100 return vmx_misc_cr3_count(to_vmx(vcpu)->nested.msrs.misc_low); in nested_cpu_vmx_misc_cr3_count()
110 return to_vmx(vcpu)->nested.msrs.misc_low & in nested_cpu_has_vmwrite_any_field()
116 return to_vmx(vcpu)->nested.msrs.misc_low & VMX_MISC_ZERO_LEN_INS; in nested_cpu_has_zero_length_injection()
121 return to_vmx(vcpu)->nested.msrs.procbased_ctls_high & in nested_cpu_supports_monitor_trap_flag()
127 return to_vmx(vcpu)->nested.msrs.secondary_ctls_high & in nested_cpu_has_vmx_shadow_vmcs()
258 u64 fixed0 = to_vmx(vcpu)->nested.msrs.cr0_fixed0; in nested_guest_cr0_valid()
[all …]
Dvmx.c476 evmcs = (struct hv_enlightened_vmcs *)to_vmx(vcpu)->loaded_vmcs->vmcs; in hv_enable_direct_tlbflush()
736 if (to_vmx(vcpu)->rmode.vm86_active) in vmx_update_exception_bitmap()
780 msr_bitmap = to_vmx(vcpu)->loaded_vmcs->msr_bitmap; in msr_write_intercepted()
1110 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_prepare_switch_to_guest()
1244 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_vcpu_load_vmcs()
1310 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_vcpu_load()
1323 vmx_prepare_switch_to_host(to_vmx(vcpu)); in vmx_vcpu_put()
1333 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_get_rflags()
1351 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_set_rflags()
1404 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_rtit_ctl_check()
[all …]
Dnested.c180 if (to_vmx(vcpu)->nested.hv_evmcs_vmptr != EVMPTR_INVALID) in nested_vmx_failValid()
181 to_vmx(vcpu)->nested.need_vmcs12_to_shadow_sync = true; in nested_vmx_failValid()
188 struct vcpu_vmx *vmx = to_vmx(vcpu); in nested_vmx_fail()
227 struct vcpu_vmx *vmx = to_vmx(vcpu); in nested_release_evmcs()
258 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_switch_vmcs()
281 struct vcpu_vmx *vmx = to_vmx(vcpu); in free_nested()
362 struct vcpu_vmx *vmx = to_vmx(vcpu); in nested_ept_inject_page_fault()
394 to_vmx(vcpu)->nested.msrs.ept_caps & in nested_ept_new_eptp()
478 !to_vmx(vcpu)->nested.nested_run_pending) { in vmx_inject_page_fault_nested()
537 msr_bitmap = to_vmx(vcpu)->vmcs01.msr_bitmap; in msr_write_intercepted_l01()
[all …]
Dvmx.h94 #define vcpu_to_lbr_desc(vcpu) (&to_vmx(vcpu)->lbr_desc)
95 #define vcpu_to_lbr_records(vcpu) (&to_vmx(vcpu)->lbr_desc.records)
457 static inline struct vcpu_vmx *to_vmx(struct kvm_vcpu *vcpu) in to_vmx() function
464 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_get_exit_qual()
475 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_get_intr_info()
513 (secondary_exec_controls_get(to_vmx(vcpu)) & in is_unrestricted_guest()
Dposted_intr.c21 return &(to_vmx(vcpu)->pi_desc); in vcpu_to_pi_desc()
324 vcpu_info.pi_desc_addr = __pa(&to_vmx(vcpu)->pi_desc); in pi_update_irte()
Dsgx.c295 struct vcpu_vmx *vmx = to_vmx(vcpu); in handle_encls_einit()
372 return (to_vmx(vcpu)->msr_ia32_feature_control & bits) == bits; in sgx_enabled_in_guest_bios()
422 struct vcpu_vmx *vmx = to_vmx(vcpu); in vcpu_setup_sgx_lepubkeyhash()
Devmcs.c338 (!vcpu || to_vmx(vcpu)->nested.enlightened_vmcs_enabled)) in nested_get_evmcs_version()
431 struct vcpu_vmx *vmx = to_vmx(vcpu); in nested_enable_evmcs()