Searched refs:hve (Results 1 – 4 of 4) sorted by relevance
22 struct hv_vmcb_enlightenments *hve = &to_svm(vcpu)->vmcb->control.hv_enlightenments; in svm_hv_is_enlightened_tlb_enabled() local25 !!hve->hv_enlightenments_control.enlightened_npt_tlb; in svm_hv_is_enlightened_tlb_enabled()30 struct hv_vmcb_enlightenments *hve = &vmcb->control.hv_enlightenments; in svm_hv_init_vmcb() local37 hve->hv_enlightenments_control.enlightened_npt_tlb = 1; in svm_hv_init_vmcb()40 hve->hv_enlightenments_control.msr_bitmap = 1; in svm_hv_init_vmcb()74 struct hv_vmcb_enlightenments *hve = &vmcb->control.hv_enlightenments; in svm_hv_vmcb_dirty_nested_enlightenments() local76 if (hve->hv_enlightenments_control.msr_bitmap) in svm_hv_vmcb_dirty_nested_enlightenments()82 struct hv_vmcb_enlightenments *hve = &vmcb->control.hv_enlightenments; in svm_hv_update_vp_id() local85 if (hve->hv_vp_id != vp_index) { in svm_hv_update_vp_id()86 hve->hv_vp_id = vp_index; in svm_hv_update_vp_id()
20 struct hv_vmcb_enlightenments *hve; in svm_hv_enable_l2_tlb_flush() local26 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()
18 struct hv_vmcb_enlightenments *hve = &svm->nested.ctl.hv_enlightenments; in nested_svm_hv_update_vm_vp_ids() local24 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() local38 if (!hve->hv_enlightenments_control.nested_flush_hypercall) in nested_svm_l2_tlb_flush_enabled()
74 struct hv_vmcb_enlightenments *hve = &vmcb->control.hv_enlightenments; in guest_code() local88 hve->partition_assist_page = hv_pages->partition_assist_gpa; in guest_code()89 hve->hv_enlightenments_control.nested_flush_hypercall = 1; in guest_code()90 hve->hv_vm_id = 1; in guest_code()91 hve->hv_vp_id = 1; in guest_code()109 hve->hv_enlightenments_control.msr_bitmap = 1; in guest_code()