Home
last modified time | relevance | path

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

/Linux-v6.6/arch/x86/kvm/vmx/
Dnested.c575 struct hv_enlightened_vmcs *evmcs = vmx->nested.hv_evmcs; in nested_vmx_prepare_msr_bitmap() local
591 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() local
1586 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 …]
Dhyperv.h56 static inline u64 evmcs_read_any(struct hv_enlightened_vmcs *evmcs, in evmcs_read_any() argument
65 return vmcs12_read_any((void *)evmcs, field, offset); in evmcs_read_any()
Dhyperv.c662 struct hv_enlightened_vmcs *evmcs = vmx->nested.hv_evmcs; in nested_evmcs_l2_tlb_flush_enabled() local
664 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()
Dvmx.c525 struct hv_enlightened_vmcs *evmcs; in hv_enable_l2_tlb_flush() local
538 evmcs = (struct hv_enlightened_vmcs *)to_vmx(vcpu)->loaded_vmcs->vmcs; in hv_enable_l2_tlb_flush()
540 evmcs->partition_assist_page = in hv_enable_l2_tlb_flush()
542 evmcs->hv_vm_id = (unsigned long)vcpu->kvm; in hv_enable_l2_tlb_flush()
543 evmcs->hv_enlightenments_control.nested_flush_hypercall = 1; in hv_enable_l2_tlb_flush()
3947 struct hv_enlightened_vmcs *evmcs = (void *)vmx->vmcs01.vmcs; in vmx_msr_bitmap_l01_changed() local
3949 if (evmcs->hv_enlightenments_control.msr_bitmap) in vmx_msr_bitmap_l01_changed()
3950 evmcs->hv_clean_fields &= in vmx_msr_bitmap_l01_changed()
7492 struct hv_enlightened_vmcs *evmcs = (void *)vmx->vmcs01.vmcs; in vmx_vcpu_create() local
7494 evmcs->hv_enlightenments_control.msr_bitmap = 1; in vmx_vcpu_create()