Home
last modified time | relevance | path

Searched refs:hv_vcpu (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.1/arch/x86/kvm/
Dhyperv.h68 struct kvm_vcpu_hv *hv_vcpu = to_hv_vcpu(vcpu); in to_hv_synic() local
70 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() local
77 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() local
89 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() local
123 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 …]
Dhyperv.c201 struct kvm_vcpu_hv *hv_vcpu = to_hv_vcpu(vcpu); in kvm_hv_notify_acked_sint() local
208 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() local
228 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 …]
Dx86.c10628 struct kvm_vcpu_hv *hv_vcpu = to_hv_vcpu(vcpu); in vcpu_enter_guest() local
10631 vcpu->run->hyperv = hv_vcpu->exit; in vcpu_enter_guest()
/Linux-v6.1/arch/x86/kvm/vmx/
Devmcs.c404 struct kvm_vcpu_hv *hv_vcpu = to_hv_vcpu(vcpu); in evmcs_has_perf_global_ctrl() local
413 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()