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

[Xen-devel] Re: [PATCH 0/4] (Refactored) VHD Support Addition

To: Anthony Liguori <anthony@xxxxxxxxxxxxx>
Subject: [Xen-devel] Re: [PATCH 0/4] (Refactored) VHD Support Addition
From: Steve Ofsthun <sofsthun@xxxxxxxxxxxxxxx>
Date: Thu, 21 Jun 2007 15:13:44 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, "Daniel P. Berrange" <berrange@xxxxxxxxxx>, Ben Guthro <bguthro@xxxxxxxxxxxxxxx>
Delivery-date: Thu, 21 Jun 2007 12:11:44 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <467AC030.4030803@xxxxxxxxxxxxx>
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: <467AB504.7040809@xxxxxxxxxxxxxxx> <20070621173518.GE13026@xxxxxxxxxx> <467ABC1A.4010302@xxxxxxxxxxxxxxx> <467AC030.4030803@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.10 (X11/20060911)
Anthony Liguori wrote:
> Steve Ofsthun wrote:
>> Daniel P. Berrange wrote:
>>> On Thu, Jun 21, 2007 at 01:27:32PM -0400, Ben Guthro wrote:
>>
>>>> ### vdisk_tool ###
>>>> The vdisk_tool provides a means of creating, and converting vhd files.
>>>> Like libvdisk, it is designed with future support of additional formats
>>>> in mind, but currently only supports vhd.
>>> Why not just add vhd support to qemu's existing qemu-img tool, then
>>> it will
>>> support all image formats, right from the start, rather than
>>> inventing yet
>>> another tool :-(
>>
>> Well, when we started this, it wasn't clear we were going to be able to
>> publicly release any code in support of the VHD format.  Microsoft later
>> relaxed the restrictions, and by that time the separate tool already
>> existed.  We can investigate integrating the work into qemu-img.
> 
> QEMU already supports VHD (it calls it VPC) and supported it long before
> Microsoft released any specs.  QEMU supported VMDK before VMware release
> the specs for that too.

This code was developed in the Xen 3.0.2 days when the integrated qemu had
no vpc support.  Our original code was targeted at PV on HVM drivers using
blocktap.  We needed to support the same format unaccelerated and so the
qemu integration was also done.

> Is there a particular feature of VHD/VPC that your code adds that QEMU
> didn't already support?

Not having any experience with VPC, I couldn't tell you.  I can say that we
tried to adhere to the Microsoft spec rather than reverse engineering the
format from examples.  Perusing the VPC code, there are many references to
unknown fields within the format.

Is there a complete and concise summary of the VPC feature coverage?

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

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