All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fam Zheng <famz@redhat.com>
To: Guilherme Moro <gmoro@suse.de>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] qemu-img convert to VMDK
Date: Sat, 14 Oct 2017 17:45:43 +0800	[thread overview]
Message-ID: <20171014094543.GA32099@lemon> (raw)
In-Reply-To: <58f74661-3830-4127-e30b-37baebeba532@suse.de>

On Fri, 10/13 15:20, Guilherme Moro wrote:
> Hi,
> 
> I'm trying to convert some images from raw to vmdk to run in a ESXi6.5
> server but I need to rectify the image before being able to run.
> 
> The scenario goes like that:
> 
> qemu-img convert -f raw image.raw -O vmdk -o compat6 image.vmdk
> ESXi complains with "Failed - File system specific implementation of
> LookupAndOpen"[file] failed
> running vmkfstools -x repair on the image make it bootable
> 
>  I checked the changes, vmkfstools is basically removing the second
> descriptor from the end of the file, I'm not familiar enough with the code
> and the format to know what this means, maybe compat6 should make qemu-img
> avoid to put that in the end of the file (again, mostly guessing).
> 
> Anyway we would need an option to make sure that this second descriptor does
> not end in the final image.

What do you mean by "second descriptor"? The one at offset 0x200? But other than
this descriptor I don't see a second one. Maybe I'm missing something?

Fam

  reply	other threads:[~2017-10-14  9:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-13 14:20 [Qemu-devel] qemu-img convert to VMDK Guilherme Moro
2017-10-14  9:45 ` Fam Zheng [this message]
2017-10-16 11:16   ` Guilherme Moro
2017-10-17 16:58   ` Guilherme Moro

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=20171014094543.GA32099@lemon \
    --to=famz@redhat.com \
    --cc=gmoro@suse.de \
    --cc=qemu-devel@nongnu.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.