These are the QOM IRQ patches from Peter Crosthwaite. I and Alex made the small changes I requested, so here they are.
We tested them with v3 of the platform bus series. "-device eTSEC" works as expected and qom-test's property retrieval loop works fine with an eTSEC platform device added to the machine. Andreas, if you want I can send a pull request for this. Paolo Peter Crosthwaite (13): qdev: gpio: Don't allow name share between I and O qdev: gpio: Register GPIO inputs as child objects qdev: gpio: Register GPIO outputs as QOM links qom: Allow clearing of a Link property qom: Demote already-has-a-parent to a regular error qdev: gpio: Re-implement qdev_connect_gpio QOM style qdev: gpio: Add API for intercepting a GPIO qtest/irq: Rework IRQ interception irq: Remove qemu_irq_intercept_out qdev: gpio: delete NamedGPIOList::out qdev: gpio: Remove qdev_init_gpio_out x1 restriction qdev: gpio: Define qdev_pass_gpios() sysbus: Use TYPE_DEVICE GPIO functionality hw/core/irq.c | 8 +---- hw/core/qdev.c | 95 ++++++++++++++++++++++++++++++++++++++++++++++---- hw/core/sysbus.c | 20 ++--------- include/hw/irq.h | 1 - include/hw/qdev-core.h | 6 +++- include/hw/sysbus.h | 7 ++-- qom/object.c | 16 ++++++--- qtest.c | 15 +++++--- 8 files changed, 123 insertions(+), 45 deletions(-) -- 2.1.0