WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH 1/4] (Refactored) provide vhd support to qemu

To: Andrew Warfield <andrew.warfield@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 1/4] (Refactored) provide vhd support to qemu
From: Steve Ofsthun <sofsthun@xxxxxxxxxxxxxxx>
Date: Thu, 21 Jun 2007 15:04:07 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Ben Guthro <bguthro@xxxxxxxxxxxxxxx>
Delivery-date: Thu, 21 Jun 2007 12:03:04 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <eacc82a40706211042i148a9c69g98f304854d013fe0@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <467AB50B.7040704@xxxxxxxxxxxxxxx> <eacc82a40706211042i148a9c69g98f304854d013fe0@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.10 (X11/20060911)
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.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>