From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39249) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNJoW-0006Aa-Ae for qemu-devel@nongnu.org; Tue, 11 Mar 2014 06:21:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WNJoP-0000EG-GG for qemu-devel@nongnu.org; Tue, 11 Mar 2014 06:21:36 -0400 Received: from mx1.redhat.com ([209.132.183.28]:4672) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNJoP-0000E9-6W for qemu-devel@nongnu.org; Tue, 11 Mar 2014 06:21:29 -0400 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 s2BALRtW009410 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 11 Mar 2014 06:21:28 -0400 Date: Tue, 11 Mar 2014 11:21:27 +0100 From: Kevin Wolf Message-ID: <20140311102127.GC3215@dhcp-200-207.str.redhat.com> References: <1394491449-10897-1-git-send-email-mreitz@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1394491449-10897-1-git-send-email-mreitz@redhat.com> Subject: Re: [Qemu-devel] [PATCH 0/3] qcow2: Fix crash during copy_sectors() after corruption List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz Cc: qemu-devel@nongnu.org, Stefan Hajnoczi Am 10.03.2014 um 23:44 hat Max Reitz geschrieben: > This series fixes a call to a NULL function pointer during > copy_sectors(), if a concurrent write request triggered the corruption > prevention mechanism. > > > Max Reitz (3): > qcow2: Check bs->drv in copy_sectors() > block: bs->drv may be NULL in bdrv_debug_resume() > iotests: Test corruption during COW request > > block.c | 2 +- > block/qcow2-cluster.c | 4 ++++ > tests/qemu-iotests/060 | 26 ++++++++++++++++++++++++++ > tests/qemu-iotests/060.out | 15 +++++++++++++++ > 4 files changed, 46 insertions(+), 1 deletion(-) Reviewed-by: Kevin Wolf