> This patch allows to optionally attach a message to an IRQ event. The > message can contain a payload reference and a callback that the IRQ > handler may invoke to report the delivery result. The former can be used > to model message signaling interrupts, the latter to cleanly implement > IRQ de-coalescing logics.
I don't like this. qemu_irq is a level triggered interface. Redundant calls to qemu_set_irq should (in principle) be a no-op. If you want message passing then IMO you should be using something else. Paul