Received: from [140.186.70.92] (port=33574 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OHxer-0004qU-Uv for qemu-devel@nongnu.org; Fri, 28 May 2010 07:23:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OHxeq-0004Ie-Uf for qemu-devel@nongnu.org; Fri, 28 May 2010 07:23:21 -0400 Received: from mx1.redhat.com ([209.132.183.28]:23094) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OHxeq-0004IQ-Ny for qemu-devel@nongnu.org; Fri, 28 May 2010 07:23:20 -0400 From: Kevin Wolf Date: Fri, 28 May 2010 13:22:48 +0200 Message-Id: <1275045773-26963-1-git-send-email-kwolf@redhat.com> Subject: [Qemu-devel] [PATCH 0/5] qcow2 fixes List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, stefanha@linux.vnet.ibm.com Another series of fixes for bugs that were found using blkdebug. The last two of them are presumably relevant even outside error paths and can cause corruption. They should be applied to stable-0.12, too. Kevin Wolf (5): qcow2: Allow qcow2_get_cluster_offset to return errors qcow2: Change l2_load to return 0/-errno qcow2: Return right error code in write_refcount_block_entries qcow2: Fix corruption after refblock allocation qcow2: Fix corruption after error in update_refcount block/qcow2-cluster.c | 70 ++++++++++++++++++++++++++++------------------- block/qcow2-refcount.c | 42 +++++++++++++++++++--------- block/qcow2.c | 16 +++++++++-- block/qcow2.h | 4 +- 4 files changed, 85 insertions(+), 47 deletions(-)