KVM: check injected pic irq within valid pic irqs
authorBen-Ami Yassour <benami@il.ibm.com>
Sun, 6 Jul 2008 14:15:07 +0000 (17:15 +0300)
committerAvi Kivity <avi@qumranet.com>
Sun, 20 Jul 2008 09:42:39 +0000 (12:42 +0300)
commitc65bbfa1d693d375da51f9c8aa9fb26f09fa19ed
tree9046a4a8d38b2dc33ca45c975ce52d34ecde1cd0
parent19fdfa0d133ae216e9d1c69a8333fe63fcf8e584
KVM: check injected pic irq within valid pic irqs

Check that an injected pic irq is between 0 and 15.

Signed-off-by: Ben-Ami Yassour <benami@il.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/i8259.c
arch/x86/kvm/irq.h