« Previous | Next » 

Revision 47f7be39

ID47f7be394aa7baf7855fe78f56b8ba4c69bf75d9

Added by Jan Kiszka about 13 years ago

ioapic: Do not set irr for masked edge IRQs

So far we set IRR for edge IRQs even if the pin is masked. If the guest
later on unmasks and switches the pin to level-triggered mode, irr will
remain set, causing an IRQ storm. The point is that setting IRR is not
correct in this case according to the spec, and avoiding this resolves
the issue.

Reported-and-tested-by: Isaku Yamahata <>
Signed-off-by: Jan Kiszka <>
Signed-off-by: Aurelien Jarno <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences