Re: [patch 2/3] KVM: x86: add option to advance tscdeadline hrtimer expiration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 16/12/2014 16:13, Marcelo Tosatti wrote:
>> > So perhaps you can get rid of patch 1 and check
>> > kvm_apic_vid_enabled(vcpu->kvm):
>> > 
>> > 	if (k_a_v_e(vcpu->kvm)
>> > 		return true;
>> > 	if (apic_test_vector(vec, apic->regs + APIC_ISR))
>> > 		return true;
>> > 
>> > Does this sound correct?
> * expired_tscdeadline != 0.
> * APIC timer interrupt delivery masked at LVTT register.
> 
> Implies expired_tscdeadline != 0 and interrupt not injected.

Good point.

Paolo
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux