Received: from eggs.gnu.org ([2001:4830:134:3::10]:39989) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bBxxt-0005tA-VG for qemu-devel@nongnu.org; Sun, 12 Jun 2016 01:29:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bBxxp-0007dg-V8 for qemu-devel@nongnu.org; Sun, 12 Jun 2016 01:29:41 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59359) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bBxxp-0007dc-Ox for qemu-devel@nongnu.org; Sun, 12 Jun 2016 01:29:37 -0400 Date: Sun, 12 Jun 2016 13:29:31 +0800 From: Fam Zheng Message-ID: <20160612052931.GK27167@ad.usersys.redhat.com> References: <1465549454-58809-1-git-send-email-cornelia.huck@de.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1465549454-58809-1-git-send-email-cornelia.huck@de.ibm.com> Subject: Re: [Qemu-devel] [RESEND] [PATCH 0/6] virtio: refactor host notifiers List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Cornelia Huck Cc: qemu-devel@nongnu.org, pbonzini@redhat.com, mst@redhat.com, stefanha@redhat.com, borntraeger@de.ibm.com On Fri, 06/10 11:04, Cornelia Huck wrote: > 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. Agreed. And the changes look good to me, thanks. Reviewed-by: Fam Zheng > > 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 >