Received: from eggs.gnu.org ([2001:4830:134:3::10]:38453) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WXqmm-0003rf-JS for qemu-devel@nongnu.org; Wed, 09 Apr 2014 07:35:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WXqmc-0004Zc-Fp for qemu-devel@nongnu.org; Wed, 09 Apr 2014 07:35:20 -0400 Received: from e06smtp17.uk.ibm.com ([195.75.94.113]:55247) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WXqmc-0004Ws-5L for qemu-devel@nongnu.org; Wed, 09 Apr 2014 07:35:10 -0400 Received: from /spool/local by e06smtp17.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 9 Apr 2014 12:35:06 +0100 Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by d06dlp03.portsmouth.uk.ibm.com (Postfix) with ESMTP id 856771B08051 for ; Wed, 9 Apr 2014 12:35:03 +0100 (BST) Received: from d06av04.portsmouth.uk.ibm.com (d06av04.portsmouth.uk.ibm.com [9.149.37.216]) by b06cxnps4076.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id s39BYuD3590168 for ; Wed, 9 Apr 2014 11:34:56 GMT Received: from d06av04.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av04.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s39BZ2LP002928 for ; Wed, 9 Apr 2014 05:35:03 -0600 From: Cornelia Huck Date: Wed, 9 Apr 2014 13:34:53 +0200 Message-Id: <1397043298-25755-1-git-send-email-cornelia.huck@de.ibm.com> Subject: [Qemu-devel] [PATCH v4 0/5] qemu: irqfds for s390x List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: gleb@kernel.org, borntraeger@de.ibm.com, Cornelia Huck , agraf@suse.de, pbonzini@redhat.com Here's my current qemu s390x irqfd patchset. Unless there are objections, I'll send a pull request once 2.0 has been released. Changes from v3: - rebased against current master - first patch is now a proper kernel header update - in patch 5, make indicators->map a uint64_t instead of void *; this saves useless casting and fixes a 32 bit compile error Changes from v2: - rebased against current master - use object_resolve_path() to grab the flic - more explicit return code check for enabling KVM_CAP_S390_IRQCHIP Changes from v1: - rebased against current master - pick up changed capability numbers from the kvm patchset - use c99 struct initializers in patch 3 - adapter interrupts are already upstream The git branch at https://github.com/cohuck/qemu.git s390x-irqfd has been updated accordingly. Cornelia Huck (5): linux-headers: update kvm: add kvm_enable_cap_{vm,vcpu} s390x: Add I/O adapter registration. s390x/virtio-ccw: reference-counted indicators s390x/virtio-ccw: Wire up irq routing and irqfds. hw/intc/s390_flic.c | 59 +++++++++++ hw/s390x/css.c | 51 +++++++++ hw/s390x/css.h | 4 + hw/s390x/virtio-ccw.c | 239 +++++++++++++++++++++++++++++++++++++----- hw/s390x/virtio-ccw.h | 16 ++- include/hw/s390x/adapter.h | 23 ++++ include/qemu/typedefs.h | 1 + include/sysemu/kvm.h | 6 ++ kvm-all.c | 57 +++++++++- kvm-stub.c | 5 + linux-headers/asm-s390/kvm.h | 24 +++++ linux-headers/linux/kvm.h | 17 +++ target-s390x/cpu.h | 33 ++++++ target-s390x/kvm.c | 5 + 14 files changed, 511 insertions(+), 29 deletions(-) create mode 100644 include/hw/s390x/adapter.h -- 1.7.9.5