KVM: SVM: Coalesce userspace/kernel irqchip interrupt injection logic
authorGleb Natapov <gleb@redhat.com>
Thu, 23 Apr 2009 14:14:37 +0000 (17:14 +0300)
committerAvi Kivity <avi@redhat.com>
Wed, 10 Jun 2009 08:48:46 +0000 (11:48 +0300)
Start to use interrupt/exception queues like VMX does.
This also fix the bug that if exit was caused by a guest
internal exception access to IDT the exception was not
reinjected.

Use EVENTINJ to inject interrupts.  Use VINT only for detecting when IRQ
windows is open again.  EVENTINJ ensures
the interrupt is injected immediately and not delayed.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>

No differences found