Searched refs:hv_vcpu (Results 1 – 4 of 4) sorted by relevance
68 struct kvm_vcpu_hv *hv_vcpu = to_hv_vcpu(vcpu); in to_hv_synic() local70 return &hv_vcpu->synic; in to_hv_synic()75 struct kvm_vcpu_hv *hv_vcpu = container_of(synic, struct kvm_vcpu_hv, synic); in hv_synic_to_vcpu() local77 return hv_vcpu->vcpu; in hv_synic_to_vcpu()87 struct kvm_vcpu_hv *hv_vcpu = to_hv_vcpu(vcpu); in kvm_hv_get_vpindex() local89 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() local123 hv_vcpu = container_of(stimer - stimer->index, struct kvm_vcpu_hv, in hv_stimer_to_vcpu()125 return hv_vcpu->vcpu; in hv_stimer_to_vcpu()130 struct kvm_vcpu_hv *hv_vcpu = to_hv_vcpu(vcpu); in kvm_hv_has_stimer_pending() local[all …]
201 struct kvm_vcpu_hv *hv_vcpu = to_hv_vcpu(vcpu); in kvm_hv_notify_acked_sint() local208 for (idx = 0; idx < ARRAY_SIZE(hv_vcpu->stimer); idx++) { in kvm_hv_notify_acked_sint()209 stimer = &hv_vcpu->stimer[idx]; in kvm_hv_notify_acked_sint()226 struct kvm_vcpu_hv *hv_vcpu = to_hv_vcpu(vcpu); in synic_exit() local228 hv_vcpu->exit.type = KVM_EXIT_HYPERV_SYNIC; in synic_exit()229 hv_vcpu->exit.u.synic.msr = msr; in synic_exit()230 hv_vcpu->exit.u.synic.control = synic->control; in synic_exit()231 hv_vcpu->exit.u.synic.evt_page = synic->evt_page; in synic_exit()232 hv_vcpu->exit.u.synic.msg_page = synic->msg_page; in synic_exit()308 struct kvm_vcpu_hv *hv_vcpu = to_hv_vcpu(vcpu); in kvm_hv_is_syndbg_enabled() local[all …]
10628 struct kvm_vcpu_hv *hv_vcpu = to_hv_vcpu(vcpu); in vcpu_enter_guest() local10631 vcpu->run->hyperv = hv_vcpu->exit; in vcpu_enter_guest()
404 struct kvm_vcpu_hv *hv_vcpu = to_hv_vcpu(vcpu); in evmcs_has_perf_global_ctrl() local413 if (WARN_ON_ONCE(!hv_vcpu)) in evmcs_has_perf_global_ctrl()416 return hv_vcpu->cpuid_cache.nested_ebx & HV_X64_NESTED_EVMCS1_PERF_GLOBAL_CTRL; in evmcs_has_perf_global_ctrl()