summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPeter Crosthwaite2014-09-26 07:21:31 +0200
committerPaolo Bonzini2014-10-23 16:41:25 +0200
commit60a79016aed70c4ebcd45a8006c46dc9c397685a (patch)
tree9cb16a960c0625fc69a6ea36e0b16e67a7ecc7b1 /include
parentqdev: gpio: Add API for intercepting a GPIO (diff)
downloadqemu-60a79016aed70c4ebcd45a8006c46dc9c397685a.tar.gz
qemu-60a79016aed70c4ebcd45a8006c46dc9c397685a.tar.xz
qemu-60a79016aed70c4ebcd45a8006c46dc9c397685a.zip
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 <agraf@suse.de> Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions