qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Lyu Mitnick <mitnick.lyu@gmail.com>
To: Christoph Hellwig <hch@lst.de>
Cc: Kevin Wolf <kwolf@redhat.com>,
	Stefan Hajnoczi <stefanha@gmail.com>,
	qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] GSoC - QCOW2 <-> QED image converter
Date: Thu, 7 Apr 2011 07:10:00 +0800	[thread overview]
Message-ID: <BANLkTinrOUmcXJf3PjCH8Yt1sQb5X3QwYg@mail.gmail.com> (raw)
In-Reply-To: <20110406155249.GA29963@lst.de>

[-- Attachment #1: Type: text/plain, Size: 1471 bytes --]

Hello Christoph,

2011/4/6 Christoph Hellwig <hch@lst.de>

> On Wed, Apr 06, 2011 at 05:15:29PM +0200, Kevin Wolf wrote:
> > Am 06.04.2011 17:06, schrieb Christoph Hellwig:
> > > On Wed, Apr 06, 2011 at 07:41:37AM +0100, Stefan Hajnoczi wrote:
> > >> Yes, split images are not supported by block/vpc.c.
> > >
> > > I'm working on that feature for vmdk right now, which is quite
> > > interesting as vmdk really is two different format both claiming
> > > to be vmdk, of which one is simply a text file telling how other
> > > vmdk images are glued together.
> >
> > Last time I checked the other one wasn't a single format either, but
> > rather something like ten different subformats.
>
> The binary vmdk files have a few different revisions too, yes.
>
> > Anyway, if you're working on split VMDK images, I should probably stop
> > advertising it as a GSoC project?
>
> I didn't know it was advertised, but there's indeed no need to duplicate
> the
> work.
>
>
Would you mind to share your solution about this feature?? My idea is
replace
all bdrv_pread(), bdrv_pwrite_sync(), bdrv_pwrite() in block/vpc.c to
bdrv_pread_split(),  bdrv_pwrite_sync_split(), bdrv_pwrite_split()
corresponding.
bdrv_pread_split(),  bdrv_pwrite_sync_split(), bdrv_pwrite_split() should
deal with
data splitted at different files via bdrv_pread(), bdrv_pwrite_sync(),
bdrv_pwrite(),
give an interface of sequential byte accessed. Is it suitable to solve this
issue??

Thanks a lot

Mitnick

[-- Attachment #2: Type: text/html, Size: 1999 bytes --]

  reply	other threads:[~2011-04-06 23:10 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-04 18:56 [Qemu-devel] GSoC - QCOW2 <-> QED image converter Lyu Mitnick
2011-04-05  9:15 ` Stefan Hajnoczi
2011-04-05 18:03   ` Lyu Mitnick
2011-04-06  6:41     ` Stefan Hajnoczi
2011-04-06 11:13       ` Lyu Mitnick
2011-04-06 12:46         ` Stefan Hajnoczi
2011-04-06 15:06       ` Christoph Hellwig
2011-04-06 15:15         ` Kevin Wolf
2011-04-06 15:52           ` Christoph Hellwig
2011-04-06 23:10             ` Lyu Mitnick [this message]
2011-04-11 18:11               ` Christoph Hellwig

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=BANLkTinrOUmcXJf3PjCH8Yt1sQb5X3QwYg@mail.gmail.com \
    --to=mitnick.lyu@gmail.com \
    --cc=hch@lst.de \
    --cc=kwolf@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@gmail.com \
    /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).