]> Git Repo - qemu.git/commit
qtest/irq: Rework IRQ interception
authorPeter Crosthwaite <[email protected]>
Fri, 26 Sep 2014 05:21:31 +0000 (22:21 -0700)
committerPaolo Bonzini <[email protected]>
Thu, 23 Oct 2014 14:41:25 +0000 (16:41 +0200)
commit60a79016aed70c4ebcd45a8006c46dc9c397685a
tree9cb16a960c0625fc69a6ea36e0b16e67a7ecc7b1
parent0c24db2b8c60cb578d7af6fb50c0ad60a723a02d
qtest/irq: Rework IRQ interception

Change the qtest intercept handler to accept just the individual IRQ
being intercepted as opaque. n is still expected to be correctly set
as for the original intercepted irq. qemu_intercept_irq_in is updated
accordingly.

Then covert the qemu_irq_intercept_out call to use qdev intercept
version. This stops qtest from having to mess with the raw IRQ pointers
(still has to mess with names and counts but a step in the right
direction).

Reviewed-by: Alexander Graf <[email protected]>
Signed-off-by: Peter Crosthwaite <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
hw/core/irq.c
qtest.c
This page took 0.026343 seconds and 4 git commands to generate.