KVM: Do not allow interrupt injection from userspace if there is a pending event.
authorGleb Natapov <gleb@redhat.com>
Mon, 11 May 2009 10:35:47 +0000 (13:35 +0300)
committerAvi Kivity <avi@redhat.com>
Wed, 10 Jun 2009 08:48:57 +0000 (11:48 +0300)
commitfa9726b0733461781933ab7180aca45e46d0a891
treefc9849120d32d73fcb49bca7b0f7c355def7a5c7
parent3298b75c880d6f0fd70750233c0f3e71a72a5bfb
KVM: Do not allow interrupt injection from userspace if there is a pending event.

The exception will immediately close the interrupt window.

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