Home
last modified time | relevance | path

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

/linux/arch/x86/kvm/vmx/
A 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()
110 return to_vmx(vcpu)->nested.msrs.misc_low & in nested_cpu_has_vmwrite_any_field()
258 u64 fixed0 = to_vmx(vcpu)->nested.msrs.cr0_fixed0; in nested_guest_cr0_valid()
259 u64 fixed1 = to_vmx(vcpu)->nested.msrs.cr0_fixed1; in nested_guest_cr0_valid()
272 u64 fixed0 = to_vmx(vcpu)->nested.msrs.cr0_fixed0; in nested_host_cr0_valid()
273 u64 fixed1 = to_vmx(vcpu)->nested.msrs.cr0_fixed1; in nested_host_cr0_valid()
280 u64 fixed0 = to_vmx(vcpu)->nested.msrs.cr4_fixed0; in nested_cr4_valid()
[all …]
A Dvmx.c736 if (to_vmx(vcpu)->rmode.vm86_active) in vmx_update_exception_bitmap()
1103 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_prepare_switch_to_guest()
1237 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_vcpu_load_vmcs()
1303 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_vcpu_load()
1326 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_get_rflags()
1344 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_set_rflags()
1402 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_rtit_ctl_check()
2921 return to_vmx(vcpu)->vpid; in vmx_get_current_vpid()
4929 if (to_vmx(vcpu)->nested.vmxon && in handle_set_cr0()
6819 vmx = to_vmx(vcpu); in vmx_create_vcpu()
[all …]
A Dnested.c188 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()
363 struct vcpu_vmx *vmx = to_vmx(vcpu); in nested_ept_inject_page_fault()
590 struct vcpu_vmx *vmx = to_vmx(vcpu); in nested_vmx_prepare_msr_bitmap()
673 struct vcpu_vmx *vmx = to_vmx(vcpu); in nested_cache_shadow_vmcs12()
692 struct vcpu_vmx *vmx = to_vmx(vcpu); in nested_flush_cached_shadow_vmcs12()
3299 if (!to_vmx(vcpu)->nested.vmxon) { in nested_vmx_check_permission()
4781 vmx = to_vmx(vcpu); in nested_vmx_pmu_entry_exit_ctls_update()
[all …]
A 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)
495 static inline struct vcpu_vmx *to_vmx(struct kvm_vcpu *vcpu) in to_vmx() function
502 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_get_exit_qual()
513 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_get_intr_info()
551 (secondary_exec_controls_get(to_vmx(vcpu)) & in is_unrestricted_guest()
A Dsgx.c289 struct vcpu_vmx *vmx = to_vmx(vcpu); in handle_encls_einit()
366 return (to_vmx(vcpu)->msr_ia32_feature_control & bits) == bits; in sgx_enabled_in_guest_bios()
416 struct vcpu_vmx *vmx = to_vmx(vcpu); in vcpu_setup_sgx_lepubkeyhash()
A Dposted_intr.c22 return &(to_vmx(vcpu)->pi_desc); in vcpu_to_pi_desc()
326 vcpu_info.pi_desc_addr = __pa(&to_vmx(vcpu)->pi_desc); in pi_update_irte()
A 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()

Completed in 33 milliseconds