Searched refs:evmcs (Results 1 – 4 of 4) sorted by relevance
643 struct hv_enlightened_vmcs *evmcs = nested_vmx_evmcs(vmx); in nested_vmx_prepare_msr_bitmap() local645 if (evmcs && evmcs->hv_enlightenments_control.msr_bitmap && in nested_vmx_prepare_msr_bitmap()646 evmcs->hv_clean_fields & HV_VMX_ENLIGHTENED_CLEAN_FIELD_MSR_BITMAP) in nested_vmx_prepare_msr_bitmap()1658 struct hv_enlightened_vmcs *evmcs = nested_vmx_evmcs(vmx); in copy_enlightened_to_vmcs12() local1662 vmcs12->tpr_threshold = evmcs->tpr_threshold; in copy_enlightened_to_vmcs12()1663 vmcs12->guest_rip = evmcs->guest_rip; in copy_enlightened_to_vmcs12()1667 hv_vcpu->nested.pa_page_gpa = evmcs->partition_assist_page; in copy_enlightened_to_vmcs12()1668 hv_vcpu->nested.vm_id = evmcs->hv_vm_id; in copy_enlightened_to_vmcs12()1669 hv_vcpu->nested.vp_id = evmcs->hv_vp_id; in copy_enlightened_to_vmcs12()1674 vmcs12->guest_rsp = evmcs->guest_rsp; in copy_enlightened_to_vmcs12()[all …]
216 struct hv_enlightened_vmcs *evmcs = vmx->nested.hv_evmcs; in nested_evmcs_l2_tlb_flush_enabled() local218 if (!hv_vcpu || !evmcs) in nested_evmcs_l2_tlb_flush_enabled()221 if (!evmcs->hv_enlightenments_control.nested_flush_hypercall) in nested_evmcs_l2_tlb_flush_enabled()
154 static inline u64 evmcs_read_any(struct hv_enlightened_vmcs *evmcs, in evmcs_read_any() argument163 return vmcs12_read_any((void *)evmcs, field, offset); in evmcs_read_any()
538 struct hv_enlightened_vmcs *evmcs; in hv_enable_l2_tlb_flush() local544 evmcs = (struct hv_enlightened_vmcs *)to_vmx(vcpu)->loaded_vmcs->vmcs; in hv_enable_l2_tlb_flush()546 evmcs->partition_assist_page = partition_assist_page; in hv_enable_l2_tlb_flush()547 evmcs->hv_vm_id = (unsigned long)vcpu->kvm; in hv_enable_l2_tlb_flush()548 evmcs->hv_enlightenments_control.nested_flush_hypercall = 1; in hv_enable_l2_tlb_flush()3994 struct hv_enlightened_vmcs *evmcs = (void *)vmx->vmcs01.vmcs; in vmx_msr_bitmap_l01_changed() local3996 if (evmcs->hv_enlightenments_control.msr_bitmap) in vmx_msr_bitmap_l01_changed()3997 evmcs->hv_clean_fields &= in vmx_msr_bitmap_l01_changed()7572 struct hv_enlightened_vmcs *evmcs = (void *)vmx->vmcs01.vmcs; in vmx_vcpu_create() local7574 evmcs->hv_enlightenments_control.msr_bitmap = 1; in vmx_vcpu_create()