]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - arch/x86/kvm/svm.c
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)
commit9222be18f76b4410b4da0d06e1cc21079e64b3ec
tree3ec9e26f1eff82bc4fcbbc1fe35028e24f13bdef
parent5df56646472c42495dd2412c8d8aa72e59efe79a
KVM: SVM: Coalesce userspace/kernel irqchip interrupt injection logic

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>
arch/x86/kvm/svm.c