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/
Home Products Support Community News


Re: [Xen-devel] What happen to blktap2 in Xen 4.1 ??

To: "Daniel Stodden" <daniel.stodden@xxxxxxxxxx>
Subject: Re: [Xen-devel] What happen to blktap2 in Xen 4.1 ??
From: "Sarge I" <3sarge3@xxxxxxxxx>
Date: Tue, 5 Apr 2011 08:40:07 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 05 Apr 2011 07:54:13 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:from:to:cc:references:in-reply-to :subject:date:mime-version:content-type:content-transfer-encoding :x-priority:x-msmail-priority:importance:x-mailer:x-mimeole; bh=yZlaA5N4Y/M8ueM4/0XsCbe3LdZAxNo8kFNwjbKBn+E=; b=EFa9pub6XZyZJ5Rdu6LsMD398fPRaMLGyYweygJImbvg/qou5qynvP1tNCXwi1nlv2 fFJKgYbhUD8gDmK0zuV05swf4QZKUJukBtmFYmz5npS09IZCYxJpPvWYKfd7X7TWUD2O 8VyHV05Qt/x3XhlauCVm/6WNPoA3jN+wwCiI0=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:cc:references:in-reply-to:subject:date :mime-version:content-type:content-transfer-encoding:x-priority :x-msmail-priority:importance:x-mailer:x-mimeole; b=bu0l+pxOSiBb5p1zXoDTJ0L6kNkzYBbpBI9D53jgPIpA6+m4EMDbtlKlZnLzsCLX6s YV9l1Ags0exRZAMF1s68TVovQYRq6c+N8vwlEfSXiQ1r03Sma2dHQRbZQIIrV1KuVa8C XE6eHShPAkgcJlO+0GQ+4PzBA7gBCF2/yEyjU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: Normal
In-reply-to: <1301959236.25476.271.camel@xxxxxxxxxxxxxxxxxxxxxxx>
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: <20BA4C7F44E243298DE5D0C0FF5AD870@rw764> <1301947213.25476.7.camel@xxxxxxxxxxxxxxxxxxxxxxx> <1C3547AF02364BF5B82C814D86959A16@rw764> <1301959236.25476.271.camel@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi, there are not problem to create domU with vhd disks, im using devices with tap2:vhd:/path/to/file.vhd in domU config files, using xl to create and manage domains, in this part everything is ok, just tapdisk2 remain in processes after domU shutdown with /sys/class/blktap2/ folders for each blktap device. Garbage in /sys/class/blktap2/devices show while domU is running and after shutdown. Just an little irritation. Problem is I can`t mount disk image in dom0 (at last im not able to find documentation how to do it, because README in tools/blktap2/ is quite old and don`t reflect current state ). In past (4.0.2-rcX) im used to mount image with tapdisk -n <type:file> , then kpartx , mount nlk device and do a job, then list device from /sys/class/blktap2/devices and remove device with command "echo 1 > /sys/class/blktap2/blktapX/remove" . Is it a solution for mounting images in Dom0 using the blktap2 driver, please?

About my setup:
Im running weekly updated gentoo systems on recent intel i7 and xeon boxes, i need recent kernel for devices as well as usb passthrough, so I choose suse linux kernel from 11.4 branch, currently (having very good experience with this tree, its stable, faster than linux-2.6.32-pvops.git), tested nearly all from 2.6.18-xen , 2.6.32-pvops (also other branches from jeremy`s git), previous suse xenified kernels 2.6.32 ,34.

-----Original Message----- From: Daniel Stodden
Sent: Tuesday, April 05, 2011 1:20 AM
To: Sarge I
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] What happen to blktap2 in Xen 4.1 ??

On Mon, 2011-04-04 at 17:14 -0400, Sarge I wrote:

> On other hand, there are no longer possibility to list attached images
> in /sys/class/blktap2/devices:
> sarge@kxen pts/2: cat /sys/class/blktap2/devices
> 0 €L©
> 1 €—˜4
> 2 €wøã
> 3 €÷9

I seem not to easily repro the garbage. Can you give me a hint what
kernel you're using and what state those nodes where in? If you didn't
use tap-ctl, and tapdisk2 failed, how did those devicee nodes even get


Xen-devel mailing list

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