diff options
| author | Peter Crosthwaite <peter.crosthwaite@xilinx.com> | 2014-09-25 22:20:25 -0700 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-10-23 16:41:25 +0200 |
| commit | 02757df2ad2d5dfc96482e2cdfa046f439dafc3d (patch) | |
| tree | e1d3fe8b901f3a5caab1ebdafeddf612383a01ce /include/hw/qdev-core.h | |
| parent | 8faa2f8571e399ba486bad00e25b6c9b22b6fd9a (diff) | |
| download | focaccia-qemu-02757df2ad2d5dfc96482e2cdfa046f439dafc3d.tar.gz focaccia-qemu-02757df2ad2d5dfc96482e2cdfa046f439dafc3d.zip | |
qdev: gpio: Re-implement qdev_connect_gpio QOM style
Re-implement as a link setter. This should allow the QOM framework to keep track of ref counts properly etc. We need to add a default parent for the connecting input incase it's coming from a non-qdev source. We simply parent the IRQ to the machine in this case. 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/hw/qdev-core.h')
0 files changed, 0 insertions, 0 deletions