From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:58758) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SzRVF-0004uu-Km for qemu-devel@nongnu.org; Thu, 09 Aug 2012 08:06:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SzRV9-0002s6-Tg for qemu-devel@nongnu.org; Thu, 09 Aug 2012 08:06:13 -0400 Received: from e06smtp14.uk.ibm.com ([195.75.94.110]:52579) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SzRV9-0002ri-Lq for qemu-devel@nongnu.org; Thu, 09 Aug 2012 08:06:07 -0400 Received: from /spool/local by e06smtp14.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 9 Aug 2012 13:06:06 +0100 Received: from d06av09.portsmouth.uk.ibm.com (d06av09.portsmouth.uk.ibm.com [9.149.37.250]) by b06cxnps3074.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q79C5vpd24707192 for ; Thu, 9 Aug 2012 12:05:57 GMT Received: from d06av09.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av09.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q79C63YV001745 for ; Thu, 9 Aug 2012 06:06:03 -0600 From: Stefan Hajnoczi Date: Thu, 9 Aug 2012 13:05:53 +0100 Message-Id: <1344513957-17906-1-git-send-email-stefanha@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH v2 0/4] qcow2: clean-ups around lazy refcounts List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf , Stefan Hajnoczi The qcow2 lazy refcount feature was merged with two pending clean-ups suggested by Kevin: 1. Ensure that qemu-iotests/check -nocache 039 does not fail. 2. Fix qemu-img check output when a dirty image file is opened. It currently omits the error summary because automatic repair cleans the image during bdrv_open() before qemu-img.c can call bdrv_check(). v2: * Fail when qcow2 check finds corruptions [Kevin] Stefan Hajnoczi (4): qed: mark image clean after repair succeeds qcow2: mark image clean after repair succeeds block: add BLOCK_O_CHECK for qemu-img check qemu-iotests: skip 039 with ./check -nocache block.h | 1 + block/qcow2.c | 32 +++++++++++++++++--------------- block/qed-check.c | 26 ++++++++++++++++++++++++++ block/qed.c | 11 ++--------- block/qed.h | 5 +++++ qemu-img.c | 2 +- tests/qemu-iotests/039 | 1 + tests/qemu-iotests/039.out | 6 ++++++ tests/qemu-iotests/common.rc | 14 ++++++++++++++ 9 files changed, 73 insertions(+), 25 deletions(-) -- 1.7.10.4