Home
last modified time | relevance | path

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

/linux-6.6.21/arch/x86/kvm/
Dx86.c3102 struct pvclock_vcpu_time_info *guest_hv_clock; in kvm_setup_guest_pvclock() local
3106 while (!kvm_gpc_check(gpc, offset + sizeof(*guest_hv_clock))) { in kvm_setup_guest_pvclock()
3109 if (kvm_gpc_refresh(gpc, offset + sizeof(*guest_hv_clock))) in kvm_setup_guest_pvclock()
3115 guest_hv_clock = (void *)(gpc->khva + offset); in kvm_setup_guest_pvclock()
3124 guest_hv_clock->version = vcpu->hv_clock.version = (guest_hv_clock->version + 1) | 1; in kvm_setup_guest_pvclock()
3128 vcpu->hv_clock.flags |= (guest_hv_clock->flags & PVCLOCK_GUEST_STOPPED); in kvm_setup_guest_pvclock()
3135 memcpy(guest_hv_clock, &vcpu->hv_clock, sizeof(*guest_hv_clock)); in kvm_setup_guest_pvclock()
3138 guest_hv_clock->version = ++vcpu->hv_clock.version; in kvm_setup_guest_pvclock()