On Tue, Aug 14, 2012 at 07:20:28PM +0300, Michael S. Tsirkin wrote: > We validate irq pin number when routing is setup, so > code handling illegal irq # in pic and ioapic on each injection > is never called. > Drop it, replace with BUG_ON to catch out of bounds access bugs. > > Signed-off-by: Michael S. Tsirkin <mst@xxxxxxxxxx> > --- > > Changes from v1: > add BUG_ON at Gleb's suggestion > > arch/x86/kvm/i8259.c | 18 +++++++++--------- > virt/kvm/ioapic.c | 37 +++++++++++++++++++------------------ > 2 files changed, 28 insertions(+), 27 deletions(-) Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html