diff options
| author | Peter Crosthwaite | 2014-09-26 07:20:25 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2014-10-23 16:41:25 +0200 |
| commit | 02757df2ad2d5dfc96482e2cdfa046f439dafc3d (patch) | |
| tree | e1d3fe8b901f3a5caab1ebdafeddf612383a01ce /include | |
| parent | qom: Demote already-has-a-parent to a regular error (diff) | |
| download | qemu-02757df2ad2d5dfc96482e2cdfa046f439dafc3d.tar.gz qemu-02757df2ad2d5dfc96482e2cdfa046f439dafc3d.tar.xz 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')
0 files changed, 0 insertions, 0 deletions
