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] blktap2 questions

To: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
Subject: Re: [Xen-devel] blktap2 questions
From: Dutch Meyer <dmeyer@xxxxxxxxx>
Date: Thu, 28 May 2009 10:17:09 -0700 (PDT)
Cc: "Xen-Devel \(E-mail\)" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 28 May 2009 10:18:33 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <b7a6b132-b942-477f-aaef-cd6cf875425e@default>
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: <b7a6b132-b942-477f-aaef-cd6cf875425e@default>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
1) Are there any blkfront version dependencies for blktap2?
Or should I be able to use any existing blkfront that works
today with blktap1 or file: ?

I'm pretty sure that (a) nobody has tried this and (b) it should work (at least in theory).

2) Assuming I build and install new dom0 and tools from
xen-unstable, do I need to do anything else to use blktap2?
(The hg log says "Blktap devices are now created directly
on the linux dom0 command line".)  Or is it entirely
transparent (other than ensuring my vhd's use "tap:aio:")?

It's transparent, we modified the tools to launch the appropriate process. Launching it yourself from the command line is just an option, not a requirement.

3) The (ancient?) README says: "will cooperate fine with the
existing backend driver, so you can experiment with tap disks
without breaking existing VM configs"  I assume this means it
cooperates with "file:" backed vhds, not with blktap1?  In
other words, will I be able to use blktap1 with some domains
and blktap2 with others?

blktap1 is still intact and can be used in conjunction with blktap2; however, blktap2 takes over most of the tapdisk drivers (like aio), while a few others (qcow) still operate in blktap1. So nothing should keep you from using both at once, except that the selection of blktap1 vs blktap2 is based on the driver you specify.

Suggestion: Augment the README with the bullets in
the changeset log, and perhaps expand on them (and/or
provide URLs for additional documentation).

A good suggestion- the READMEs is embarrasingly out of date (though that was to some extent true previously). We will update soon.

--Dutch

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

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