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)
commit867767a365ee74a3adcfaba27075eefb66b14bfd
tree896716e81ff5e13f47a15221e66d0aceeeb9456a
parentd98e6346350ac909f095768beb28b82368bd126f
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