Home
last modified time | relevance | path

Searched refs:evmcs (Results 1 – 4 of 4) sorted by relevance

/linux-6.14.4/arch/x86/kvm/vmx/
Dnested.c643 struct hv_enlightened_vmcs *evmcs = nested_vmx_evmcs(vmx); in nested_vmx_prepare_msr_bitmap() local
645 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() local
1662 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 …]
Dhyperv.c216 struct hv_enlightened_vmcs *evmcs = vmx->nested.hv_evmcs; in nested_evmcs_l2_tlb_flush_enabled() local
218 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()
Dhyperv_evmcs.h154 static inline u64 evmcs_read_any(struct hv_enlightened_vmcs *evmcs, in evmcs_read_any() argument
163 return vmcs12_read_any((void *)evmcs, field, offset); in evmcs_read_any()
Dvmx.c538 struct hv_enlightened_vmcs *evmcs; in hv_enable_l2_tlb_flush() local
544 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() local
3996 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() local
7574 evmcs->hv_enlightenments_control.msr_bitmap = 1; in vmx_vcpu_create()