]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: Introduce kvm_set_irq to inject interrupts in guests
authorAmit Shah <amit.shah@qumranet.com>
Fri, 27 Jun 2008 12:55:02 +0000 (15:55 +0300)
committerAvi Kivity <avi@qumranet.com>
Wed, 15 Oct 2008 08:15:12 +0000 (10:15 +0200)
commit34dcc14cef63f1decdb5c47b54cf3f6aeea0b3d8
tree896716e81ff5e13f47a15221e66d0aceeeb9456a
parentfa52a17cd23f9e1ff1ec6bc24055878d33116868
KVM: Introduce kvm_set_irq to inject interrupts in guests

This function injects an interrupt into the guest given the kvm struct,
the (guest) irq number and the interrupt level.

Signed-off-by: Amit Shah <amit.shah@qumranet.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/irq.c
arch/x86/kvm/irq.h