From: Julian Chesterfield Subject: Re: Re: [PATCH 0 of 6] dm-userspace xen integration patches Date: Tue, 29 Aug 2006 10:25:50 +0100 Message-ID: References: <20060825212344.GA31071@localhost.localdomain> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Dan Smith Cc: Xen Devel List-Id: xen-devel@lists.xenproject.org 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 when you insert the qcow filename into the config file: disk = [ 'tap:qcow:, 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: 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