From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45023) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XrOJ1-0003Lk-Lt for qemu-devel@nongnu.org; Thu, 20 Nov 2014 04:45:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XrOIw-0003lY-NA for qemu-devel@nongnu.org; Thu, 20 Nov 2014 04:45:39 -0500 Received: from mx1.redhat.com ([209.132.183.28]:50548) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XrOIw-0003l8-7Q for qemu-devel@nongnu.org; Thu, 20 Nov 2014 04:45:34 -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 sAK9jXtk026986 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Thu, 20 Nov 2014 04:45:33 -0500 Message-ID: <546DB83A.6030205@redhat.com> Date: Thu, 20 Nov 2014 10:45:30 +0100 From: Max Reitz MIME-Version: 1.0 References: <1416406785-14241-1-git-send-email-stefanha@redhat.com> In-Reply-To: <1416406785-14241-1-git-send-email-stefanha@redhat.com> Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [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: Stefan Hajnoczi , qemu-devel@nongnu.org Cc: Kevin Wolf On 2014-11-19 at 15:19, Stefan Hajnoczi wrote: > 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(-) Thanks, applied to my block-next tree: https://github.com/XanClic/qemu/commits/block-next