All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steve Ofsthun <sofsthun@virtualiron.com>
To: Andrew Warfield <andrew.warfield@cl.cam.ac.uk>
Cc: xen-devel@lists.xensource.com, Ben Guthro <bguthro@virtualiron.com>
Subject: Re: [PATCH 1/4] (Refactored) provide vhd support to qemu
Date: Thu, 21 Jun 2007 15:04:07 -0400	[thread overview]
Message-ID: <467ACBA7.8050202@virtualiron.com> (raw)
In-Reply-To: <eacc82a40706211042i148a9c69g98f304854d013fe0@mail.gmail.com>

Andrew Warfield wrote:
> Hi Ben,
> 
>   Thanks very much for these patches -- it would be great to see VHD
> support added to blktap.  I've taken a high-level pass over your
> patches and have a few comments/suggestions:
> 
>  1. Your patches add a vdisk abstraction.  It's not clear that adding
> another virtual disk interface (in addition to what is already
> presented with tapdisk and used by the existing drivers) is a big win
> -- especially since VHD is the only consumer of the new abstraction.
> If the tapdisk interface falls short, can we evolve it to address
> deficiencies rather than add another parallel interface?

The vdisk abstraction was mainly designed to allow qemu & tapdisk to share
the same format translation code.  Existing formats seemed to duplicate
code between the two consumers.

>  2. Having both qemu and tapdisk instances go directly at the disk
> isn't ideal.  It would be much better to plumb qemu through tapdisk,
> say through a dom0 block-attach, so that we implement drivers in a
> single place,  cache image metadata in a single entity at runtime,
> etc.

I'm confused here, are you saying that the current disk format decoders are
not duplicated in both qemu and tapdisk?  I didn't think upstream qemu even
knew about tapdisk.

In any case, I would think Qemu performance overhead is significant enough
without adding another hop through tapdisk.

>  3. It doesn't look like your VHD implementation does chained disks.
> Am I missing something, or is this future work?

Disk chaining (parent/child relationships) is currently handled by the
vdisk layer, not the VHD format translation directly.

Steve
-- 
Steve Ofsthun - Virtual Iron Software, Inc.

      reply	other threads:[~2007-06-21 19:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-21 17:27 [PATCH 1/4] (Refactored) provide vhd support to qemu Ben Guthro
2007-06-21 17:42 ` Andrew Warfield
2007-06-21 19:04   ` Steve Ofsthun [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=467ACBA7.8050202@virtualiron.com \
    --to=sofsthun@virtualiron.com \
    --cc=andrew.warfield@cl.cam.ac.uk \
    --cc=bguthro@virtualiron.com \
    --cc=xen-devel@lists.xensource.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 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.