From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39174) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xrlm4-0000HO-7o for qemu-devel@nongnu.org; Fri, 21 Nov 2014 05:49:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xrlly-0004ML-3z for qemu-devel@nongnu.org; Fri, 21 Nov 2014 05:49:12 -0500 Received: from mx1.redhat.com ([209.132.183.28]:57011) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xrllx-0004M7-Sh for qemu-devel@nongnu.org; Fri, 21 Nov 2014 05:49:06 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id sALAn4Ts026575 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Fri, 21 Nov 2014 05:49:04 -0500 From: Stefan Hajnoczi Date: Fri, 21 Nov 2014 10:48:56 +0000 Message-Id: <1416566940-4430-1-git-send-email-stefanha@redhat.com> Subject: [Qemu-devel] [PATCH 0/4] blockdev: support dataplane in QMP 'transaction' command List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf , Paolo Bonzini , Stefan Hajnoczi , mreitz@redhat.com These patches make the QMP 'transaction' command work with virtio-blk dataplane. Each 'transaction' action must take care to acquire AioContext around BlockDriverState accesses. Once that protection is in place we can unblock the op blockers for these commands. The meat is in Patch 3. Patches 1 & 2 are minor cleanups. Patch 4 protects the external snapshot command (oops, we forgot!). Stefan Hajnoczi (4): blockdev: update outdated qmp_transaction() comments blockdev: drop unnecessary DriveBackupState field assignment blockdev: acquire AioContext in QMP 'transaction' actions blockdev: check for BLOCK_OP_TYPE_EXTERNAL_SNAPSHOT blockdev.c | 74 +++++++++++++++++++++++++++++++++-------- hw/block/dataplane/virtio-blk.c | 2 ++ 2 files changed, 63 insertions(+), 13 deletions(-) -- 2.1.0