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>
This commit is contained in:
Amit Shah 2008-06-27 15:55:02 +03:00 • committed by Avi Kivity
commit 867767a365
2 changed files with 13 additions and 0 deletions