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] Xen 4.0.1, tap vs tap2, blktap2 documentation, and gento

To: "Fajar A. Nugraha" <list@xxxxxxxxx>
Subject: Re: [Xen-devel] Xen 4.0.1, tap vs tap2, blktap2 documentation, and gentoo-xen-kernel problem
From: Pasi Kärkkäinen <pasik@xxxxxx>
Date: Mon, 20 Sep 2010 09:25:28 +0300
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 19 Sep 2010 23:26:06 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTikaGoYi4X=fb12z+Hw9wNKXPt=ZaKWoGsEHQaTL@xxxxxxxxxxxxxx>
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: <AANLkTikaGoYi4X=fb12z+Hw9wNKXPt=ZaKWoGsEHQaTL@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
On Mon, Sep 20, 2010 at 10:02:17AM +0700, Fajar A. Nugraha wrote:
> Hi,
> 
> I've been testing Xen 4.0.1 with kernel 2.6.34.5 +
> http://gentoo-xen-kernel.googlecode.com/files/xen-patches-2.6.34-4.tar.bz2,
> and one of the things that I noticed immediately is there are two
> problems with tapdisk and this combination.
> 
> First, the syntax "disk = ['tap:tapdisk:aio: ..."  no longer works.
> When tested with HVM domU, it boots, but there was no disk attched
> (and /sys/class/blktap2/devices stays empty). Changing it to
> tap2:tapdisk:aio works (sort of). I recall some discussion about tap
> vs tap2 compatibility on this list earlier, but no final conclusion.
> Shouldn't newer versions be backward compatible? Existing tap:aio and
> tap:tapdisk:aio should just work to minimize upgrade efforts.
> http://lxr.xensource.com/lxr/source/tools/blktap2/README also still
> mention tap:tapdisk, and not tap2:tapdisk.
> 

http://wiki.xensource.com/xenwiki/blktap2

The syntax was changed in Xen 4.0.1 .. which is a bit confusing..

> Second problem, using that combination, blktap2 devices was not
> cleanly freed. /sys/class/blktap2/devices and tapdisk devices keep
> increasing (tapdev0, tapdev1, etc.). The strange thing is, when using
> Xen 4.0.1 hypervisor but with Xen 4.0.0 userland, tap:tapdisk and
> blktap2 device cleanup works as expected.
> 

Interesting. Did you try with a pvops dom0 kernel? Does that make a difference?

-- Pasi


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

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