commit | b463a6f744a263fccd7da14db1afdc880371a280 | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Tue Jul 20 15:06:17 2010 +0300 |
committer | Avi Kivity <avi@redhat.com> | Sun Oct 24 10:52:54 2010 +0200 |
tree | 30dbb8d47f4a3a6b2036dd890d03cb53081eadef | |
parent | 83422e17c19d61399cab7dbf9bf40ff9af2a7dd2 [diff] |
KVM: Non-atomic interrupt injection Change the interrupt injection code to work from preemptible, interrupts enabled context. This works by adding a ->cancel_injection() operation that undoes an injection in case we were not able to actually enter the guest (this condition could never happen with atomic injection). Signed-off-by: Avi Kivity <avi@redhat.com>