From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37670) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XrNp6-0000R4-8n for qemu-devel@nongnu.org; Thu, 20 Nov 2014 04:14:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XrNp0-0002y5-0M for qemu-devel@nongnu.org; Thu, 20 Nov 2014 04:14:44 -0500 Received: from mx1.redhat.com ([209.132.183.28]:52534) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XrNh4-0007gH-DD for qemu-devel@nongnu.org; Thu, 20 Nov 2014 04:06:26 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id sAK96PX6021474 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Thu, 20 Nov 2014 04:06:25 -0500 Message-ID: <546DAF0E.2020202@redhat.com> Date: Thu, 20 Nov 2014 10:06:22 +0100 From: Max Reitz MIME-Version: 1.0 References: <1416406785-14241-1-git-send-email-stefanha@redhat.com> <1416406785-14241-2-git-send-email-stefanha@redhat.com> In-Reply-To: <1416406785-14241-2-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 1/4] blockdev: acquire AioContext in blockdev-snapshot-delete-internal-sync 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: > Add dataplane support to the blockdev-snapshot-delete-internal-sync QMP > command. By acquiring the AioContext we avoid race conditions with the > dataplane thread which may also be accessing the BlockDriverState. > > Signed-off-by: Stefan Hajnoczi > --- > blockdev.c | 16 +++++++++++++--- > hw/block/dataplane/virtio-blk.c | 2 ++ > 2 files changed, 15 insertions(+), 3 deletions(-) Reviewed-by: Max Reitz