]> git.karo-electronics.de Git - linux-beck.git/commit
KVM: VMX: Conditionally request interrupt window after injecting irq
authorAvi Kivity <avi@redhat.com>
Sun, 23 Nov 2008 16:08:57 +0000 (18:08 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 31 Dec 2008 14:55:00 +0000 (16:55 +0200)
commitdf203ec9a77a7236cb90456664d714423b98a977
treefc86d8072405aa5c196880fc0b328dacbd8d3a6e
parent8fe0736763a07fbea56213ea105a0c2ee098e6fc
KVM: VMX: Conditionally request interrupt window after injecting irq

If we're injecting an interrupt, and another one is pending, request
an interrupt window notification so we don't have excess latency on the
second interrupt.

This shouldn't happen in practice since an EOI will be issued, giving a second
chance to request an interrupt window, but...

Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/vmx.c