Received: from eggs.gnu.org ([2001:4830:134:3::10]:38771) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aujpD-00077M-Ui for qemu-devel@nongnu.org; Mon, 25 Apr 2016 12:57:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aujp8-0007JI-BA for qemu-devel@nongnu.org; Mon, 25 Apr 2016 12:57:31 -0400 Received: from e06smtp09.uk.ibm.com ([195.75.94.105]:56541) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aujp8-0007HG-0u for qemu-devel@nongnu.org; Mon, 25 Apr 2016 12:57:26 -0400 Received: from localhost by e06smtp09.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 25 Apr 2016 17:57:24 +0100 Received: from b06cxnps4075.portsmouth.uk.ibm.com (d06relay12.portsmouth.uk.ibm.com [9.149.109.197]) by d06dlp03.portsmouth.uk.ibm.com (Postfix) with ESMTP id 7A9C81B0804B for ; Mon, 25 Apr 2016 17:58:09 +0100 (BST) Received: from d06av08.portsmouth.uk.ibm.com (d06av08.portsmouth.uk.ibm.com [9.149.37.249]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u3PGvM5o7995798 for ; Mon, 25 Apr 2016 16:57:22 GMT Received: from d06av08.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av08.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u3PGvMm5013212 for ; Mon, 25 Apr 2016 10:57:22 -0600 From: Cornelia Huck Date: Mon, 25 Apr 2016 18:57:14 +0200 Message-Id: <1461603440-67287-1-git-send-email-cornelia.huck@de.ibm.com> Subject: [Qemu-devel] [PATCH for-2.7 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 As promised, my host notifier refactoring (last posted 2016/03/24) rebased unto current master (no further changes). 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