From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38873) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ypy1x-0004UA-Ue for qemu-devel@nongnu.org; Wed, 06 May 2015 08:02:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ypy1v-00006O-93 for qemu-devel@nongnu.org; Wed, 06 May 2015 08:02:25 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57114) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ypy1v-00006K-4V for qemu-devel@nongnu.org; Wed, 06 May 2015 08:02:23 -0400 Date: Wed, 6 May 2015 20:02:20 +0800 From: Fam Zheng Message-ID: <20150506120220.GC9991@ad.nay.redhat.com> References: <20150505170134.GA28436@friki.cat> <20150506101500.GA3805@friki.cat> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150506101500.GA3805@friki.cat> Subject: Re: [Qemu-devel] qemu-img convert (vmdk) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Antoni Villalonga Cc: qemu-devel@nongnu.org On Wed, 05/06 10:15, Antoni Villalonga wrote: > > Hi again, it seems to be related to the subformat option. With the default > option seems to work fine. > > I think StreamOptimized is mantatory for 'ova' files. I guess I see the problem now - the data is corrupted due to a wrong cluster allocation during converting to streamOptimized. I'm testing a patch locally. However there is another problem with streamOptimized which makes it refused in exporting to VMware application. See also: http://lists.gnu.org/archive/html/qemu-devel/2014-08/msg00467.html https://lists.gnu.org/archive/html/qemu-devel/2015-03/msg00024.html Fam > > Thanks > > On Tue, May 05, 2015 at 05:01:34PM +0000, Antoni Villalonga wrote: > > Hi, > > > > Is my first email to that list ;) > > > > > > I can reproduce this bug with v2.2 and v2.3. I'm not sure about the results > > after testing with v2.1 (doesn't show errors but seems to be still broken). > > > > % qemu-img convert -f raw -O vmdk -o subformat=streamOptimized 100GB_inputfile.img outputfile0.vmdk > > (no shown errors/warnings/info) > > % qemu-img convert -f vmdk -O qcow2 outputfile0.vmdk outputfile11.qcow2 > > qemu-img: error while reading sector 278528: Invalid argument > > > > Let me know if I can provide you more info. > > > > > > Regards > > > > -- > > Antoni Villalonga > > http://friki.cat/ > > -- > Antoni Villalonga > http://friki.cat/ >