Searched refs:evmcs (Results 1 – 4 of 4) sorted by relevance
575 struct hv_enlightened_vmcs *evmcs = vmx->nested.hv_evmcs; in nested_vmx_prepare_msr_bitmap() local591 if (!vmx->nested.force_msr_bitmap_recalc && evmcs && in nested_vmx_prepare_msr_bitmap()592 evmcs->hv_enlightenments_control.msr_bitmap && in nested_vmx_prepare_msr_bitmap()593 evmcs->hv_clean_fields & HV_VMX_ENLIGHTENED_CLEAN_FIELD_MSR_BITMAP) in nested_vmx_prepare_msr_bitmap()1582 struct hv_enlightened_vmcs *evmcs = vmx->nested.hv_evmcs; in copy_enlightened_to_vmcs12() local1586 vmcs12->tpr_threshold = evmcs->tpr_threshold; in copy_enlightened_to_vmcs12()1587 vmcs12->guest_rip = evmcs->guest_rip; in copy_enlightened_to_vmcs12()1591 hv_vcpu->nested.pa_page_gpa = evmcs->partition_assist_page; in copy_enlightened_to_vmcs12()1592 hv_vcpu->nested.vm_id = evmcs->hv_vm_id; in copy_enlightened_to_vmcs12()1593 hv_vcpu->nested.vp_id = evmcs->hv_vp_id; in copy_enlightened_to_vmcs12()[all …]
56 static inline u64 evmcs_read_any(struct hv_enlightened_vmcs *evmcs, in evmcs_read_any() argument65 return vmcs12_read_any((void *)evmcs, field, offset); in evmcs_read_any()
662 struct hv_enlightened_vmcs *evmcs = vmx->nested.hv_evmcs; in nested_evmcs_l2_tlb_flush_enabled() local664 if (!hv_vcpu || !evmcs) in nested_evmcs_l2_tlb_flush_enabled()667 if (!evmcs->hv_enlightenments_control.nested_flush_hypercall) in nested_evmcs_l2_tlb_flush_enabled()
534 struct hv_enlightened_vmcs *evmcs; in hv_enable_l2_tlb_flush() local547 evmcs = (struct hv_enlightened_vmcs *)to_vmx(vcpu)->loaded_vmcs->vmcs; in hv_enable_l2_tlb_flush()549 evmcs->partition_assist_page = in hv_enable_l2_tlb_flush()551 evmcs->hv_vm_id = (unsigned long)vcpu->kvm; in hv_enable_l2_tlb_flush()552 evmcs->hv_enlightenments_control.nested_flush_hypercall = 1; in hv_enable_l2_tlb_flush()3956 struct hv_enlightened_vmcs *evmcs = (void *)vmx->vmcs01.vmcs; in vmx_msr_bitmap_l01_changed() local3958 if (evmcs->hv_enlightenments_control.msr_bitmap) in vmx_msr_bitmap_l01_changed()3959 evmcs->hv_clean_fields &= in vmx_msr_bitmap_l01_changed()7504 struct hv_enlightened_vmcs *evmcs = (void *)vmx->vmcs01.vmcs; in vmx_vcpu_create() local7506 evmcs->hv_enlightenments_control.msr_bitmap = 1; in vmx_vcpu_create()