From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42898) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1alFXm-0008JF-Gt for qemu-devel@nongnu.org; Wed, 30 Mar 2016 08:48:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1alFXj-0008E9-98 for qemu-devel@nongnu.org; Wed, 30 Mar 2016 08:48:18 -0400 Received: from mx1.redhat.com ([209.132.183.28]:34450) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1alFXj-0008E3-27 for qemu-devel@nongnu.org; Wed, 30 Mar 2016 08:48:15 -0400 From: Paolo Bonzini Date: Wed, 30 Mar 2016 14:47:59 +0200 Message-Id: <1459342088-24311-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH resend 0/9] virtio: aio handler API List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: cornelia.huck@de.ibm.com, borntraeger@de.ibm.com, famz@redhat.com, mst@redhat.com Since Tu Bo tested Michael's patches successfully, here is my take on them. The only change in Michael's patches is that I handled a failure to start dataplane; however, I am also adding other cleanups (patches 1-2 and 8), two bugfixes (patches 3-4), converting virtio-scsi (patch 7), and finally changing the API to be simpler (patch 8). Paolo Michael S. Tsirkin (2): virtio: add aio handler virtio-blk: use aio handler for data plane Paolo Bonzini (7): virtio-dataplane: pass assign=true to virtio_queue_aio_set_host_notifier_handler virtio: make virtio_queue_notify_vq static virtio-blk: fix disabled mode virtio-scsi: fix disabled mode virtio-scsi: use aio handler for data plane virtio: merge virtio_queue_aio_set_host_notifier_handler with virtio_queue_set_aio virtio: remove starting/stopping checks hw/block/dataplane/virtio-blk.c | 35 +++++++++++---------- hw/block/virtio-blk.c | 29 ++++++++++------- hw/scsi/virtio-scsi-dataplane.c | 56 +++++++++++++++++++++++---------- hw/scsi/virtio-scsi.c | 69 +++++++++++++++++++++++++++-------------- hw/virtio/virtio.c | 37 ++++++++++++++++------ include/hw/virtio/virtio-blk.h | 3 ++ include/hw/virtio/virtio-scsi.h | 9 ++---- include/hw/virtio/virtio.h | 4 +-- 8 files changed, 158 insertions(+), 84 deletions(-) -- 1.8.3.1