qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@gmail.com>
To: Alex Bligh <alex@alex.org.uk>
Cc: famz@redhat.com, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] vmdk stream-optimised format
Date: Tue, 20 Aug 2013 16:51:59 +0200	[thread overview]
Message-ID: <20130820145159.GD5536@stefanha-thinkpad.redhat.com> (raw)
In-Reply-To: <90D0FA8B-A032-4608-9CAA-B5BC26DC4D75@alex.org.uk>

On Tue, Aug 20, 2013 at 07:51:40AM +0100, Alex Bligh wrote:
> What I'm not sure of is whether the streaming format has to be written
> sequentially from as opposed to random writes. I believe the way
> qemu-img convert works, one can't guarantee the writes are
> sequential.

It should be possible to support stream-optimized VMDK writing in
qemu-img convert.

The file format supports non-sequential layout of data - each piece of
guest data also has a logical block address with it.  You can write out
the grain table/directory at the end of the image file once you know how
data is layed out.

The VMDK spec is not great so I guess you'll also need a VMware setup to
verify your code changes.

Stefan

      parent reply	other threads:[~2013-08-20 14:52 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-19 11:09 [Qemu-devel] vmdk stream-optimised format Alex Bligh
2013-08-19 11:23 ` Fam Zheng
2013-08-19 11:50   ` Alex Bligh
2013-08-20  1:42     ` Fam Zheng
2013-08-20  6:51       ` Alex Bligh
2013-08-20  7:08         ` Fam Zheng
2013-08-20 10:53           ` Paolo Bonzini
2013-08-20 13:37             ` Alex Bligh
2013-08-20 13:37               ` Paolo Bonzini
2013-08-20 14:02                 ` Alex Bligh
2013-08-20 14:51         ` Stefan Hajnoczi [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=20130820145159.GD5536@stefanha-thinkpad.redhat.com \
    --to=stefanha@gmail.com \
    --cc=alex@alex.org.uk \
    --cc=famz@redhat.com \
    --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 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).