From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34987) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNMV2-0007lp-7q for qemu-devel@nongnu.org; Tue, 11 Mar 2014 09:13:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WNMUw-0005B2-QR for qemu-devel@nongnu.org; Tue, 11 Mar 2014 09:13:40 -0400 Received: from mail-ea0-x22c.google.com ([2a00:1450:4013:c01::22c]:40430) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNMUw-0005Al-JV for qemu-devel@nongnu.org; Tue, 11 Mar 2014 09:13:34 -0400 Received: by mail-ea0-f172.google.com with SMTP id l9so4359455eaj.3 for ; Tue, 11 Mar 2014 06:13:33 -0700 (PDT) Date: Tue, 11 Mar 2014 14:13:30 +0100 From: Stefan Hajnoczi Message-ID: <20140311131330.GD7761@stefanha-thinkpad.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: Kevin Wolf , qemu-devel@nongnu.org, Stefan Hajnoczi On Mon, Mar 10, 2014 at 11:44:06PM +0100, Max Reitz wrote: > 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(-) > > -- > 1.9.0 > > Thanks, applied to my block tree: https://github.com/stefanha/qemu/commits/block Stefan