Received: from eggs.gnu.org ([2001:4830:134:3::10]:45076) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XfAL4-0003Ic-Ei for qemu-devel@nongnu.org; Fri, 17 Oct 2014 12:25:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XfAKu-0004Po-1t for qemu-devel@nongnu.org; Fri, 17 Oct 2014 12:25:14 -0400 Received: from mail-wi0-x231.google.com ([2a00:1450:400c:c05::231]:62453) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XfAKt-0004OP-SI for qemu-devel@nongnu.org; Fri, 17 Oct 2014 12:25:03 -0400 Received: by mail-wi0-f177.google.com with SMTP id fb4so1701801wid.16 for ; Fri, 17 Oct 2014 09:25:03 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Fri, 17 Oct 2014 18:24:42 +0200 Message-Id: <1413563095-27301-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH qom v4 00/13] GPIO/IRQ QOMification: Phase 2 - Getting rid of SYSBUS IRQs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: afaerber@suse.de, agraf@suse.de 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