« Previous | Next » 

Revision 65b9d0d5

ID65b9d0d5659687ebb85b1305ac70b3a84df16e5a

Added by Scott Wood over 11 years ago

openpic: add some bounds checking for IRQ numbers

The two checks with abort() guard against potential QEMU-internal
problems, but the EOI check stops the guest from causing updates to queue
position -1 and other havoc if it writes EOI with no interrupt in
service.

Signed-off-by: Scott Wood <>
[agraf: remove hunk in code that didn't get applied yet]
Signed-off-by: Alexander Graf <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences