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 2.6.37.6 (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
allocated?
Thanks,
Daniel
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|