Searched refs:hv_vcpu (Results 1 – 6 of 6) sorted by relevance
71 struct kvm_vcpu_hv *hv_vcpu = to_hv_vcpu(vcpu); in to_hv_synic() local73 return &hv_vcpu->synic; in to_hv_synic()80 return hv_vcpu->vcpu; in hv_synic_to_vcpu()92 return hv_vcpu ? hv_vcpu->vp_index : vcpu->vcpu_idx; in kvm_hv_get_vpindex()135 struct kvm_vcpu_hv *hv_vcpu; in hv_stimer_to_vcpu() local139 return hv_vcpu->vcpu; in hv_stimer_to_vcpu()146 if (!hv_vcpu) in kvm_hv_has_stimer_pending()168 if (!hv_vcpu || in kvm_hv_invtsc_suppressed()204 return &hv_vcpu->tlb_flush_fifo[i]; in kvm_hv_get_tlb_flush_fifo()223 return hv_vcpu && in guest_hv_cpuid_has_l2_tlb_flush()[all …]
874 if (!hv_vcpu) in kvm_hv_process_stimers()905 if (!hv_vcpu) in kvm_hv_vcpu_uninit()911 kfree(hv_vcpu); in kvm_hv_vcpu_uninit()919 if (!hv_vcpu) in kvm_hv_assist_page_enabled()968 if (hv_vcpu) in kvm_hv_vcpu_init()972 if (!hv_vcpu) in kvm_hv_vcpu_init()976 hv_vcpu->vcpu = vcpu; in kvm_hv_vcpu_init()1575 hv_vcpu->hv_vapic = data; in kvm_hv_set_msr()1942 if (!hv_vcpu) in hv_tlb_flush_enqueue()2314 if (!hv_vcpu) { in kvm_hv_set_cpuid()[all …]
10775 struct kvm_vcpu_hv *hv_vcpu = to_hv_vcpu(vcpu); in vcpu_enter_guest() local10778 vcpu->run->hyperv = hv_vcpu->exit; in vcpu_enter_guest()
19 struct kvm_vcpu_hv *hv_vcpu = to_hv_vcpu(vcpu); in nested_svm_hv_update_vm_vp_ids() local21 if (!hv_vcpu) in nested_svm_hv_update_vm_vp_ids()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()33 struct kvm_vcpu_hv *hv_vcpu = to_hv_vcpu(vcpu); in nested_svm_l2_tlb_flush_enabled() local35 if (!hv_vcpu) in nested_svm_l2_tlb_flush_enabled()41 return hv_vcpu->vp_assist_page.nested_control.features.directhypercall; in nested_svm_l2_tlb_flush_enabled()
19 struct kvm_vcpu_hv *hv_vcpu = to_hv_vcpu(vcpu); in nested_get_evmptr() local24 if (unlikely(!hv_vcpu->vp_assist_page.enlighten_vmentry)) in nested_get_evmptr()27 return hv_vcpu->vp_assist_page.current_nested_vmcs; in nested_get_evmptr()97 struct kvm_vcpu_hv *hv_vcpu = to_hv_vcpu(vcpu); in evmcs_has_perf_global_ctrl() local106 if (WARN_ON_ONCE(!hv_vcpu)) in evmcs_has_perf_global_ctrl()109 return hv_vcpu->cpuid_cache.nested_ebx & HV_X64_NESTED_EVMCS1_PERF_GLOBAL_CTRL; in evmcs_has_perf_global_ctrl()214 struct kvm_vcpu_hv *hv_vcpu = to_hv_vcpu(vcpu); in nested_evmcs_l2_tlb_flush_enabled() local218 if (!hv_vcpu || !evmcs) in nested_evmcs_l2_tlb_flush_enabled()224 return hv_vcpu->vp_assist_page.nested_control.features.directhypercall; in nested_evmcs_l2_tlb_flush_enabled()
232 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()1675 struct kvm_vcpu_hv *hv_vcpu = to_hv_vcpu(&vmx->vcpu); in copy_enlightened_to_vmcs12() local1683 hv_vcpu->nested.pa_page_gpa = evmcs->partition_assist_page; in copy_enlightened_to_vmcs12()1684 hv_vcpu->nested.vm_id = evmcs->hv_vm_id; in copy_enlightened_to_vmcs12()1685 hv_vcpu->nested.vp_id = evmcs->hv_vp_id; in copy_enlightened_to_vmcs12()
Completed in 43 milliseconds