Home
last modified time | relevance | path

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

/arch/x86/kvm/
Dlapic.c1606 u64 guest_tsc, tsc_deadline; in __kvm_wait_lapic_expire() local
1610 guest_tsc = kvm_read_l1_tsc(vcpu, rdtsc()); in __kvm_wait_lapic_expire()
1611 apic->lapic_timer.advance_expire_delta = guest_tsc - tsc_deadline; in __kvm_wait_lapic_expire()
1620 if (guest_tsc < tsc_deadline) in __kvm_wait_lapic_expire()
1621 guest_tsc = kvm_read_l1_tsc(vcpu, rdtsc()); in __kvm_wait_lapic_expire()
1624 if (guest_tsc < tsc_deadline) in __kvm_wait_lapic_expire()
1625 __wait_lapic_expire(vcpu, tsc_deadline - guest_tsc); in __kvm_wait_lapic_expire()
1692 u64 guest_tsc, tscdeadline = ktimer->tscdeadline; in start_sw_tscdeadline() local
1706 guest_tsc = kvm_read_l1_tsc(vcpu, rdtsc()); in start_sw_tscdeadline()
1708 ns = (tscdeadline - guest_tsc) * 1000000ULL; in start_sw_tscdeadline()
[all …]