Received: from eggs.gnu.org ([208.118.235.92]:51876) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1US2Y7-00086M-Nn for qemu-devel@nongnu.org; Tue, 16 Apr 2013 05:51:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1US2Y6-0003mz-1r for qemu-devel@nongnu.org; Tue, 16 Apr 2013 05:51:39 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52297) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1US2Y5-0003ly-QN for qemu-devel@nongnu.org; Tue, 16 Apr 2013 05:51:37 -0400 Date: Tue, 16 Apr 2013 11:51:32 +0200 From: Kevin Wolf Message-ID: <20130416095132.GE2825@dhcp-200-207.str.redhat.com> References: <1366103663-11574-1-git-send-email-stefanha@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1366103663-11574-1-git-send-email-stefanha@redhat.com> Subject: Re: [Qemu-devel] [PATCH v2 0/4] qemu-img: support compression regardless of cluster size List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Fam Zheng , qemu-devel@nongnu.org, ilkka.tengvall@cybercom.com Am 16.04.2013 um 11:14 hat Stefan Hajnoczi geschrieben: > It was hard to find a short email subject line. Anyway, the problem is that > qemu-img convert -c fails with the following error message if the input image > length is not a multiple of the output cluster size: > > qemu-img: error while compressing sector 0: Input/output error > > Ilkka Tengvall reported the failure. kwolf and > eblake suggested a fix which this patch series implements. > > qemu-img convert -c succeeds with these patches applied. > > The final patch adds qemu-iotests case 053 to protect against regressions. > > v2: > * Extend test case to check virtual disk size and contents [eblake] > * Note: only the last commit changed Thanks, updated patch 4/4. Kevin