Received: from eggs.gnu.org ([2001:4830:134:3::10]:53608) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bBIMi-00023U-D9 for qemu-devel@nongnu.org; Fri, 10 Jun 2016 05:04:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bBIMc-00030v-DO for qemu-devel@nongnu.org; Fri, 10 Jun 2016 05:04:31 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:19474) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bBIMc-0002zn-57 for qemu-devel@nongnu.org; Fri, 10 Jun 2016 05:04:26 -0400 Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.11/8.16.0.11) with SMTP id u5A93lUb045064 for ; Fri, 10 Jun 2016 05:04:23 -0400 Received: from e06smtp17.uk.ibm.com (e06smtp17.uk.ibm.com [195.75.94.113]) by mx0a-001b2d01.pphosted.com with ESMTP id 23fm5y86qu-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Fri, 10 Jun 2016 05:04:23 -0400 Received: from localhost by e06smtp17.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 10 Jun 2016 10:04:21 +0100 Received: from b06cxnps4074.portsmouth.uk.ibm.com (d06relay11.portsmouth.uk.ibm.com [9.149.109.196]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id 1C8F117D8042 for ; Fri, 10 Jun 2016 10:05:31 +0100 (BST) Received: from d06av05.portsmouth.uk.ibm.com (d06av05.portsmouth.uk.ibm.com [9.149.37.229]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u5A94JiI18284968 for ; Fri, 10 Jun 2016 09:04:19 GMT Received: from d06av05.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av05.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u5A94Hse018540 for ; Fri, 10 Jun 2016 03:04:17 -0600 From: Cornelia Huck Date: Fri, 10 Jun 2016 11:04:08 +0200 Message-Id: <1465549454-58809-1-git-send-email-cornelia.huck@de.ibm.com> Subject: [Qemu-devel] [RESEND] [PATCH 0/6] virtio: refactor host notifiers List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: pbonzini@redhat.com, mst@redhat.com, famz@redhat.com, stefanha@redhat.com, borntraeger@de.ibm.com, Cornelia Huck Hi, this is a resend of the host notifier refactoring I last sent out on 2016/04/25. Just rebased on current master and pushed out to github.com/cohuck/qemu host-notifier-refactor. Blurb from the last posting follows: This still fixes an issue where we have no ioeventfd for a short time, but it does not break our necks any more with the recent fixes. Still, I think this is a net win, especially considering we remove a lot of similar code from the individual transports. Cornelia Huck (6): virtio-bus: common ioeventfd infrastructure virtio-bus: have callers tolerate new host notifier api virtio-ccw: convert to ioeventfd callbacks virtio-pci: convert to ioeventfd callbacks virtio-mmio: convert to ioeventfd callbacks virtio-bus: remove old set_host_notifier callback hw/block/dataplane/virtio-blk.c | 6 +- hw/s390x/virtio-ccw.c | 133 ++++++++++++++-------------------------- hw/scsi/virtio-scsi-dataplane.c | 9 ++- hw/virtio/vhost.c | 13 ++-- hw/virtio/virtio-bus.c | 132 +++++++++++++++++++++++++++++++++++++++ hw/virtio/virtio-mmio.c | 128 +++++++++++++------------------------- hw/virtio/virtio-pci.c | 124 +++++++++++++------------------------ include/hw/virtio/virtio-bus.h | 31 +++++++++- 8 files changed, 303 insertions(+), 273 deletions(-) -- 2.6.6