Marcelo Tosatti 06e0564566 KVM: close timer injection race window in __vcpu_run
If a timer fires after kvm_inject_pending_timer_irqs() but before
local_irq_disable() the code will enter guest mode and only inject such
timer interrupt the next time an unrelated event causes an exit.

It would be simpler if the timer->pending irq conversion could be done
with IRQ's disabled, so that the above problem cannot happen.

For now introduce a new vcpu requests bit to cancel guest entry.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
2008-06-24 12:16:59 +03:00
..
2008-06-20 16:46:10 -07:00
2008-05-16 17:22:20 -04:00
2008-05-16 17:22:20 -04:00
2008-06-09 16:49:43 +09:00
2008-06-03 15:21:21 -07:00
2008-05-16 17:22:20 -04:00
2008-04-29 08:06:11 -07:00