On Wed, May 16, 2012 at 10:07:58PM +0300, Michael S. Tsirkin wrote: > > not be called in above scenario. > > I think I see. So this shall fix it also makes code cleaner > (no -2 hack). Right? kvm_apic_has_interrupt is called correct? Yes, but its used by multiple callsites. Best to unify it (both setting and clearing) in KVM_REQ_EVENT processing before guest entry. -- 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