Received: from eggs.gnu.org ([2001:4830:134:3::10]:46382) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WiNzN-0005Zv-S1 for qemu-devel@nongnu.org; Thu, 08 May 2014 09:04:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WiNzF-0002mU-Ly for qemu-devel@nongnu.org; Thu, 08 May 2014 09:03:53 -0400 Received: from e06smtp17.uk.ibm.com ([195.75.94.113]:47222) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WiNzF-0002m8-By for qemu-devel@nongnu.org; Thu, 08 May 2014 09:03:45 -0400 Received: from /spool/local by e06smtp17.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 8 May 2014 14:03:43 +0100 Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by d06dlp03.portsmouth.uk.ibm.com (Postfix) with ESMTP id D36E21B0804B for ; Thu, 8 May 2014 14:03:52 +0100 (BST) Received: from d06av09.portsmouth.uk.ibm.com (d06av09.portsmouth.uk.ibm.com [9.149.37.250]) by b06cxnps3074.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id s48D3fbD53739576 for ; Thu, 8 May 2014 13:03:41 GMT Received: from d06av09.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av09.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s48D3ef5017401 for ; Thu, 8 May 2014 07:03:40 -0600 From: Cornelia Huck Date: Thu, 8 May 2014 15:03:34 +0200 Message-Id: <1399554218-8262-1-git-send-email-cornelia.huck@de.ibm.com> Subject: [Qemu-devel] [PATCH v5 0/4] irqfds for s390x List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Cornelia Huck , borntraeger@de.ibm.com, agraf@suse.de Hi, here's the next version of my patchset implementing irqfds for s390x. This has been reworked to make use of flic methods; in order to make this work, the flic had to be split into a kvm part (which basically offers the same functionality as the 'old' flic) and a non-kvm part (which basically does nothing). Changes from v4: - capability helpers are already upstream - use flic methods for I/O adapter registration and mapping - move direct interaction with the routing code from virtio-ccw to the flic Also available on https://github.com/cohuck/qemu.git s390x-irqfd Please review. Cornelia Huck (4): s390x: split flic into kvm and non-kvm parts s390x: Add I/O adapter registration. s390x/virtio-ccw: reference-counted indicators s390x/virtio-ccw: Wire up irq routing and irqfds. default-configs/s390x-softmmu.mak | 3 +- hw/intc/Makefile.objs | 1 + hw/intc/s390_flic.c | 325 +++++----------------------- hw/intc/s390_flic_kvm.c | 420 +++++++++++++++++++++++++++++++++++++ hw/s390x/css.c | 50 +++++ hw/s390x/css.h | 4 + hw/s390x/virtio-ccw.c | 237 ++++++++++++++++++--- hw/s390x/virtio-ccw.h | 16 +- include/hw/s390x/adapter.h | 23 ++ include/hw/s390x/s390_flic.h | 65 +++++- include/qemu/typedefs.h | 1 + include/sysemu/kvm.h | 2 + kvm-all.c | 38 +++- kvm-stub.c | 5 + target-s390x/kvm.c | 5 + 15 files changed, 880 insertions(+), 315 deletions(-) create mode 100644 hw/intc/s390_flic_kvm.c create mode 100644 include/hw/s390x/adapter.h -- 1.7.9.5