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] Re: [PATCH 0 of 6] dm-userspace xen integration patches

To: Dan Smith <danms@xxxxxxxxxx>
Subject: Re: [Xen-devel] Re: [PATCH 0 of 6] dm-userspace xen integration patches
From: Julian Chesterfield <jac90@xxxxxxxxx>
Date: Tue, 29 Aug 2006 10:25:50 +0100
Cc: Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 29 Aug 2006 02:27:36 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <m3mz9sa2w3.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <20060825212344.GA31071@xxxxxxxxxxxxxxxxxxxxx> <m3mz9sa2w3.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Dan,

On 25 Aug 2006, at 23:04, Dan Smith wrote:

RG> Our main focus here is really block devices, such as LVMS, nbd,
RG> iSCSI.  We do support file-backed images as an experimental
RG> feature and encourage using it with care since there are some
RG> potential issues with the current loop driver.

I think that in the past dm-userspace has been compared to blktap as a
competing method for providing cow support for image files.  While we
do support files with the existing loop driver, we are currently
most concerned with providing cow support against native block
devices.

Just to clarify, the Blktap device driver supports both block devices and image files. In order to create a block device backed CoW image use the qcow-create command:

qcow-create 0 <qcow filename> <block device>

when you insert the qcow filename into the config file:

disk = [ 'tap:qcow:<qcow filename>, sda1, w' ]

it will open both the backing device handle and the qcow image. Similarly you can open a raw block device without CoW support by setting the disk parameter field to 'tap:aio:<block device> etc...'

We've been working on some improvements to the CoW architecture within the userspace blktap tools that we will push out to -unstable soon.

- Julian


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