Received: from eggs.gnu.org ([2001:4830:134:3::10]:57494) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xr66v-0008W2-GM for qemu-devel@nongnu.org; Wed, 19 Nov 2014 09:20:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xr66p-0003q5-CR for qemu-devel@nongnu.org; Wed, 19 Nov 2014 09:19:57 -0500 Received: from mx1.redhat.com ([209.132.183.28]:37021) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xr66p-0003pn-5H for qemu-devel@nongnu.org; Wed, 19 Nov 2014 09:19:51 -0500 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id sAJEJoEL020645 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Wed, 19 Nov 2014 09:19:50 -0500 From: Stefan Hajnoczi Date: Wed, 19 Nov 2014 14:19:41 +0000 Message-Id: <1416406785-14241-1-git-send-email-stefanha@redhat.com> Subject: [Qemu-devel] [PATCH for-2.3 0/4] blockdev: support dataplane in remaining QMP commands List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf , Stefan Hajnoczi , mreitz@redhat.com This patch series adds virtio-blk dataplane support for the following QMP commands: * eject * change * change-backing-file * block_passwd * blockdev-snapshot-delete-internal-sync This requires acquiring and releasing the BlockDriverState's AioContext so that the IOThread does not run while the monitor command is executing. Monitor commands that use AioContext can be unblocked in the virtio-blk dataplane op blockers list. After this series only the transaction QMP command remains to be converted. Stefan Hajnoczi (4): blockdev: acquire AioContext in blockdev-snapshot-delete-internal-sync blockdev: check for BLOCK_OP_TYPE_INTERNAL_SNAPSHOT_DELETE blockdev: acquire AioContext in eject, change, and block_passwd blockdev: acquire AioContext in change-backing-file blockdev.c | 75 ++++++++++++++++++++++++++++++++--------- hw/block/dataplane/virtio-blk.c | 4 +++ 2 files changed, 63 insertions(+), 16 deletions(-) -- 2.1.0