Home
last modified time | relevance | path

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

/Linux-v4.19/arch/x86/kvm/
Dhyperv.h32 static inline struct kvm_vcpu *hv_vcpu_to_vcpu(struct kvm_vcpu_hv *hv_vcpu) in hv_vcpu_to_vcpu() argument
36 arch = container_of(hv_vcpu, struct kvm_vcpu_arch, hyperv); in hv_vcpu_to_vcpu()
73 struct kvm_vcpu_hv *hv_vcpu; in stimer_to_vcpu() local
75 hv_vcpu = container_of(stimer - stimer->index, struct kvm_vcpu_hv, in stimer_to_vcpu()
77 return hv_vcpu_to_vcpu(hv_vcpu); in stimer_to_vcpu()
Dhyperv.c187 struct kvm_vcpu_hv *hv_vcpu = vcpu_to_hv_vcpu(vcpu); in kvm_hv_notify_acked_sint() local
198 for (idx = 0; idx < ARRAY_SIZE(hv_vcpu->stimer); idx++) { in kvm_hv_notify_acked_sint()
199 stimer = &hv_vcpu->stimer[idx]; in kvm_hv_notify_acked_sint()
204 hv_vcpu->stimer_pending_bitmap); in kvm_hv_notify_acked_sint()
221 struct kvm_vcpu_hv *hv_vcpu = &vcpu->arch.hyperv; in synic_exit() local
223 hv_vcpu->exit.type = KVM_EXIT_HYPERV_SYNIC; in synic_exit()
224 hv_vcpu->exit.u.synic.msr = msr; in synic_exit()
225 hv_vcpu->exit.u.synic.control = synic->control; in synic_exit()
226 hv_vcpu->exit.u.synic.evt_page = synic->evt_page; in synic_exit()
227 hv_vcpu->exit.u.synic.msg_page = synic->msg_page; in synic_exit()
[all …]