Home
last modified time | relevance | path

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

/linux/arch/x86/kvm/svm/
H A Dsvm_onhyperv.h20 struct hv_vmcb_enlightenments *hve = &to_svm(vcpu)->vmcb->control.hv_enlightenments; in svm_hv_is_enlightened_tlb_enabled() local
23 !!hve->hv_enlightenments_control.enlightened_npt_tlb; in svm_hv_is_enlightened_tlb_enabled()
28 struct hv_vmcb_enlightenments *hve = &vmcb->control.hv_enlightenments; in svm_hv_init_vmcb() local
35 hve->hv_enlightenments_control.enlightened_npt_tlb = 1; in svm_hv_init_vmcb()
38 hve->hv_enlightenments_control.msr_bitmap = 1; in svm_hv_init_vmcb()
45 struct hv_vmcb_enlightenments *hve = &vmcb->control.hv_enlightenments; in svm_hv_vmcb_dirty_nested_enlightenments() local
47 if (hve->hv_enlightenments_control.msr_bitmap) in svm_hv_vmcb_dirty_nested_enlightenments()
53 struct hv_vmcb_enlightenments *hve = &vmcb->control.hv_enlightenments; in svm_hv_update_vp_id() local
56 if (hve->hv_vp_id != vp_index) { in svm_hv_update_vp_id()
57 hve->hv_vp_id = vp_index; in svm_hv_update_vp_id()
H A Dhyperv.h18 struct hv_vmcb_enlightenments *hve = &svm->nested.ctl.hv_enlightenments; in nested_svm_hv_update_vm_vp_ids() local
24 hv_vcpu->nested.pa_page_gpa = hve->partition_assist_page; in nested_svm_hv_update_vm_vp_ids()
25 hv_vcpu->nested.vm_id = hve->hv_vm_id; in nested_svm_hv_update_vm_vp_ids()
26 hv_vcpu->nested.vp_id = hve->hv_vp_id; in nested_svm_hv_update_vm_vp_ids()
32 struct hv_vmcb_enlightenments *hve = &svm->nested.ctl.hv_enlightenments; in nested_svm_l2_tlb_flush_enabled() local
38 if (!hve->hv_enlightenments_control.nested_flush_hypercall) in nested_svm_l2_tlb_flush_enabled()
H A Dsvm_onhyperv.c20 struct hv_vmcb_enlightenments *hve; in svm_hv_enable_l2_tlb_flush() local
26 hve = &to_svm(vcpu)->vmcb->control.hv_enlightenments; in svm_hv_enable_l2_tlb_flush()
28 hve->partition_assist_page = partition_assist_page; in svm_hv_enable_l2_tlb_flush()
29 hve->hv_vm_id = (unsigned long)vcpu->kvm; in svm_hv_enable_l2_tlb_flush()
30 if (!hve->hv_enlightenments_control.nested_flush_hypercall) { in svm_hv_enable_l2_tlb_flush()
31 hve->hv_enlightenments_control.nested_flush_hypercall = 1; in svm_hv_enable_l2_tlb_flush()
H A Dnested.c281 struct hv_vmcb_enlightenments *hve = &svm->nested.ctl.hv_enlightenments; in nested_svm_merge_msrpm() local
284 hve->hv_enlightenments_control.msr_bitmap && in nested_svm_merge_msrpm()