From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57463) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d2suD-00085i-MW for qemu-devel@nongnu.org; Tue, 25 Apr 2017 01:20:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d2suC-00079j-La for qemu-devel@nongnu.org; Tue, 25 Apr 2017 01:20:53 -0400 Received: from mail-oi0-x235.google.com ([2607:f8b0:4003:c06::235]:34188) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d2suC-000798-FV for qemu-devel@nongnu.org; Tue, 25 Apr 2017 01:20:52 -0400 Received: by mail-oi0-x235.google.com with SMTP id x184so160312967oia.1 for ; Mon, 24 Apr 2017 22:20:52 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <4ea264eb-128c-569a-264c-8ffa3956dca2@redhat.com> From: Ashijeet Acharya Date: Tue, 25 Apr 2017 10:50:51 +0530 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] DMG chunk size independence List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: John Snow Cc: Stefan Hajnoczi , Fam Zheng , Kevin Wolf , Max Reitz , QEMU Developers , Peter Wu >> For testing I am first converting the images to raw format and then >> comparing the resulting image with the one converted using v2.9.0 DMG >> driver and after battling for 2 days with my code, it finally prints >> "Images are identical." According to John, that should be pretty >> conclusive and I completely agree. >> > > Yes, comparing a sample.dmg against a raw file generated from the 2.9.0 > qemu-img tool should be reasonably good evidence that you have not > altered the behavior of the tool. > >> Now, the real thing I wanted to ask was, if someone is aware of a DMG >> file which has a chunk size above 64 MiB so that I can test those too. >> If yes, please share the download link with me. >> Currently I am testing the ones posted by Peter Wu while submitting >> his DMG work in 2014. >> Here -> https://lists.nongnu.org/archive/html/qemu-devel/2014-12/msg03606.html >> > > Are any of those over 64MB? I assume you're implying that they aren't. No, they are not. Because none of them crash while converting with using the qemu-img tool as in 2.9.0(as it has a limitation of 64MiB). > > Maybe Peter knows?... Yes, I contacted him and he has been of great help so far :-) Ashijeet