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] [4 Patches] New blktap implementation, 2nd try

To: Kevin Wolf <kwolf@xxxxxxx>
Subject: Re: [Xen-devel] [4 Patches] New blktap implementation, 2nd try
From: Gerd Hoffmann <kraxel@xxxxxxxxxx>
Date: Tue, 04 Nov 2008 11:20:18 +0100
Cc: Dutch Meyer <dmeyer@xxxxxxxxx>, Andrew Warfield <andy@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Delivery-date: Tue, 04 Nov 2008 02:20:55 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <49101E56.4010107@xxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <Pine.GSO.4.60.0810310026340.13665@xxxxxxxxxxxxxxxxx> <490ADA76.9010800@xxxxxxx> <Pine.GSO.4.60.0810311042190.885@xxxxxxxxxxxxxxxxx> <490ED94B.7050304@xxxxxxx> <49101956.3080205@xxxxxxxxxx> <49101E56.4010107@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.16 (X11/20080723)
  Hi,

> I agree that integrating the backend into qemu is the right thing. You
> don't want to have numerous tools running. It's not a complete solution,
> though. A nice thing about blktap is that you can attach a qcow2 image
> to Dom0, e.g. to copy the kernel out of the image.

There is qemu-nbd ...

> I think this is the point where your approach and the new blktap (which
> according to Andraw in fact isn't blktap anymore) are complementary.
> blkfront talks to qemu which uses its drivers to access the image.

I've read the thread down meanwhile, although I've seen the text
describing the blktap design only quoted in your reply, looks like
Andrew's mail didn't made it to the list for some reason.

It is very different from old blktap indeed.

> Alternatively (maybe for the more complicated stuff blktap seems to
> provide) it can use the now Xen agnostic blktap to access the blktap
> device nodes through its raw block driver.

Would work, yes.  But what is the point?  qemu will certainly not rip
out the disk format drivers, so there is zero need to go that route.

> For accessing images in Dom0,
> blktap without qemu is used. And of course, the blktap drivers are
> compiled out of qemu source if qemu has the respective driver.

See qemu-nbd.

cheers,
  Gerd



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