commit | 28a6fdabb3ea775d3d707afd9d2728b3ced2c34d | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Tue Aug 14 19:20:28 2012 +0300 |
committer | Marcelo Tosatti <mtosatti@redhat.com> | Tue Aug 14 22:35:22 2012 -0300 |
tree | 13e8ec656afd83c2a8064256668ae665c81d4912 | |
parent | dbcb4e798072d114fe68813f39a9efd239ab99c0 [diff] |
KVM: x86: drop parameter validation in ioapic/pic 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>