KVM: x86: drop parameter validation in ioapic/pic
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 14 Aug 2012 16:20:28 +0000 (19:20 +0300)
committerMarcelo Tosatti <mtosatti@redhat.com>
Wed, 15 Aug 2012 01:35:22 +0000 (22:35 -0300)
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@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

No differences found