Searched refs:hve (Results 1 – 5 of 5) 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() local30 hve = &to_svm(vcpu)->vmcb->control.hv_enlightenments; in svm_hv_enable_l2_tlb_flush()32 hve->partition_assist_page = __pa(*p_hv_pa_pg); in svm_hv_enable_l2_tlb_flush()33 hve->hv_vm_id = (unsigned long)vcpu->kvm; in svm_hv_enable_l2_tlb_flush()34 if (!hve->hv_enlightenments_control.nested_flush_hypercall) { in svm_hv_enable_l2_tlb_flush()35 hve->hv_enlightenments_control.nested_flush_hypercall = 1; in svm_hv_enable_l2_tlb_flush()
17 struct hv_vmcb_enlightenments *hve = &svm->nested.ctl.hv_enlightenments; in nested_svm_hv_update_vm_vp_ids() local23 hv_vcpu->nested.pa_page_gpa = hve->partition_assist_page; in nested_svm_hv_update_vm_vp_ids()24 hv_vcpu->nested.vm_id = hve->hv_vm_id; in nested_svm_hv_update_vm_vp_ids()25 hv_vcpu->nested.vp_id = hve->hv_vp_id; in nested_svm_hv_update_vm_vp_ids()31 struct hv_vmcb_enlightenments *hve = &svm->nested.ctl.hv_enlightenments; in nested_svm_l2_tlb_flush_enabled() local37 if (!hve->hv_enlightenments_control.nested_flush_hypercall) in nested_svm_l2_tlb_flush_enabled()
194 struct hv_vmcb_enlightenments *hve = &svm->nested.ctl.hv_enlightenments; in nested_svm_vmrun_msrpm() local207 hve->hv_enlightenments_control.msr_bitmap && in nested_svm_vmrun_msrpm()
75 struct hv_vmcb_enlightenments *hve = &vmcb->control.hv_enlightenments; in guest_code() local89 hve->partition_assist_page = hv_pages->partition_assist_gpa; in guest_code()90 hve->hv_enlightenments_control.nested_flush_hypercall = 1; in guest_code()91 hve->hv_vm_id = 1; in guest_code()92 hve->hv_vp_id = 1; in guest_code()110 hve->hv_enlightenments_control.msr_bitmap = 1; in guest_code()