From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:32846) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aktuT-00026Q-O3 for qemu-devel@nongnu.org; Tue, 29 Mar 2016 09:42:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aktuO-00026c-K2 for qemu-devel@nongnu.org; Tue, 29 Mar 2016 09:42:17 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39729) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aktuO-00026V-A8 for qemu-devel@nongnu.org; Tue, 29 Mar 2016 09:42:12 -0400 Date: Tue, 29 Mar 2016 16:42:09 +0300 From: "Michael S. Tsirkin" Message-ID: <1459258923-10319-1-git-send-email-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] [PATCH 0/2] dataplane: fix start/stop races List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Cornelia Huck , pbonzini@redhat.com This works around races that data plane introduces simply by exiting immediately if we detect that dataplane is active. It's a small but ugly patch, it's only justification is that it's minimally intrusive, and that it clearly has no chance to break non data plane users. The idea is to rework it all post 2.6. Michael S. Tsirkin (2): virtio: add aio handler virtio-blk: use aio handler for data plane include/hw/virtio/virtio-blk.h | 2 ++ include/hw/virtio/virtio.h | 4 ++++ hw/block/dataplane/virtio-blk.c | 13 +++++++++++++ hw/block/virtio-blk.c | 28 ++++++++++++++++++---------- hw/virtio/virtio.c | 36 ++++++++++++++++++++++++++++++++---- 5 files changed, 69 insertions(+), 14 deletions(-) -- MST