Searched refs:hv_vcpu (Results 1 – 6 of 6) sorted by relevance
69 struct kvm_vcpu_hv *hv_vcpu = to_hv_vcpu(vcpu); in to_hv_synic() local71 return &hv_vcpu->synic; in to_hv_synic()78 return hv_vcpu->vcpu; in hv_synic_to_vcpu()90 return hv_vcpu ? hv_vcpu->vp_index : vcpu->vcpu_idx; in kvm_hv_get_vpindex()121 struct kvm_vcpu_hv *hv_vcpu; in hv_stimer_to_vcpu() local125 return hv_vcpu->vcpu; in hv_stimer_to_vcpu()132 if (!hv_vcpu) in kvm_hv_has_stimer_pending()154 if (!hv_vcpu || in kvm_hv_invtsc_suppressed()188 return &hv_vcpu->tlb_flush_fifo[i]; in kvm_hv_get_tlb_flush_fifo()207 return hv_vcpu && in guest_hv_cpuid_has_l2_tlb_flush()[all …]
868 if (!hv_vcpu) in kvm_hv_process_stimers()899 if (!hv_vcpu) in kvm_hv_vcpu_uninit()905 kfree(hv_vcpu); in kvm_hv_vcpu_uninit()913 if (!hv_vcpu) in kvm_hv_assist_page_enabled()963 if (hv_vcpu) in kvm_hv_vcpu_init()967 if (!hv_vcpu) in kvm_hv_vcpu_init()971 hv_vcpu->vcpu = vcpu; in kvm_hv_vcpu_init()1521 hv_vcpu->hv_vapic = data; in kvm_hv_set_msr()1887 if (!hv_vcpu) in hv_tlb_flush_enqueue()2253 if (!hv_vcpu) { in kvm_hv_set_cpuid()[all …]
10510 struct kvm_vcpu_hv *hv_vcpu = to_hv_vcpu(vcpu); in vcpu_enter_guest() local10513 vcpu->run->hyperv = hv_vcpu->exit; in vcpu_enter_guest()
18 struct kvm_vcpu_hv *hv_vcpu = to_hv_vcpu(vcpu); in nested_svm_hv_update_vm_vp_ids() local20 if (!hv_vcpu) in nested_svm_hv_update_vm_vp_ids()23 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()32 struct kvm_vcpu_hv *hv_vcpu = to_hv_vcpu(vcpu); in nested_svm_l2_tlb_flush_enabled() local34 if (!hv_vcpu) in nested_svm_l2_tlb_flush_enabled()40 return hv_vcpu->vp_assist_page.nested_control.features.directhypercall; in nested_svm_l2_tlb_flush_enabled()
328 struct kvm_vcpu_hv *hv_vcpu = to_hv_vcpu(vcpu); in nested_get_evmptr() local333 if (unlikely(!hv_vcpu->vp_assist_page.enlighten_vmentry)) in nested_get_evmptr()336 return hv_vcpu->vp_assist_page.current_nested_vmcs; in nested_get_evmptr()406 struct kvm_vcpu_hv *hv_vcpu = to_hv_vcpu(vcpu); in evmcs_has_perf_global_ctrl() local415 if (WARN_ON_ONCE(!hv_vcpu)) in evmcs_has_perf_global_ctrl()418 return hv_vcpu->cpuid_cache.nested_ebx & HV_X64_NESTED_EVMCS1_PERF_GLOBAL_CTRL; in evmcs_has_perf_global_ctrl()555 struct kvm_vcpu_hv *hv_vcpu = to_hv_vcpu(vcpu); in nested_evmcs_l2_tlb_flush_enabled() local559 if (!hv_vcpu || !evmcs) in nested_evmcs_l2_tlb_flush_enabled()565 return hv_vcpu->vp_assist_page.nested_control.features.directhypercall; in nested_evmcs_l2_tlb_flush_enabled()
229 struct kvm_vcpu_hv *hv_vcpu = to_hv_vcpu(vcpu); in nested_release_evmcs() local239 if (hv_vcpu) { in nested_release_evmcs()240 hv_vcpu->nested.pa_page_gpa = INVALID_GPA; in nested_release_evmcs()241 hv_vcpu->nested.vm_id = 0; in nested_release_evmcs()242 hv_vcpu->nested.vp_id = 0; in nested_release_evmcs()1577 struct kvm_vcpu_hv *hv_vcpu = to_hv_vcpu(&vmx->vcpu); in copy_enlightened_to_vmcs12() local1585 hv_vcpu->nested.pa_page_gpa = evmcs->partition_assist_page; in copy_enlightened_to_vmcs12()1586 hv_vcpu->nested.vm_id = evmcs->hv_vm_id; in copy_enlightened_to_vmcs12()1587 hv_vcpu->nested.vp_id = evmcs->hv_vp_id; in copy_enlightened_to_vmcs12()
Completed in 46 milliseconds