qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Fam Zheng <famz@redhat.com>
To: Antoni Villalonga <qemu-list@friki.cat>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] qemu-img convert (vmdk)
Date: Wed, 6 May 2015 20:02:20 +0800	[thread overview]
Message-ID: <20150506120220.GC9991@ad.nay.redhat.com> (raw)
In-Reply-To: <20150506101500.GA3805@friki.cat>

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/
> 

      reply	other threads:[~2015-05-06 12:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-05 17:01 [Qemu-devel] qemu-img convert (vmdk) Antoni Villalonga
2015-05-06 10:01 ` Kevin Wolf
2015-05-06 10:50   ` Fam Zheng
2015-05-06 10:15 ` Antoni Villalonga
2015-05-06 12:02   ` Fam Zheng [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150506120220.GC9991@ad.nay.redhat.com \
    --to=famz@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-list@friki.cat \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).