Avi Kivity 83bcacb1a5 KVM: Avoid double interrupt injection with vapic
After an interrupt injection, the PPR changes, and we have to reflect that
into the vapic.  This causes a KVM_REQ_EVENT to be set, which causes the
whole interrupt injection routine to be run again (harmlessly).

Optimize by only setting KVM_REQ_EVENT if the ppr was lowered; otherwise
there is no chance that a new injection is needed.

Signed-off-by: Avi Kivity <avi@redhat.com>
2011-01-12 11:23:36 +02:00
..
2010-10-24 10:53:14 +02:00
2010-10-24 10:53:14 +02:00
2011-01-02 11:52:48 +02:00
2010-10-24 10:53:14 +02:00
2010-03-01 12:36:00 -03:00
2010-10-24 10:53:14 +02:00
2011-01-12 11:23:06 +02:00
2010-10-24 10:53:14 +02:00
2010-05-17 12:17:35 +03:00