qdev: gpio: Add API for intercepting a GPIO
commit0c24db2b8c60cb578d7af6fb50c0ad60a723a02d
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Fri, 26 Sep 2014 05:20:58 +0000 (25 22:20 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 23 Oct 2014 14:41:25 +0000 (23 16:41 +0200)
treef2982421bf6d0b2d395554350cd0ebeeaf6f51d6
parent02757df2ad2d5dfc96482e2cdfa046f439dafc3d
qdev: gpio: Add API for intercepting a GPIO

To replace the old qemu_irq intercept API (which had users reaching
into qdev private state for GPIOs).

Reviewed-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/core/qdev.c
include/hw/qdev-core.h