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-users

Re: [Xen-users] blktap howto

try

disk = [ 'tap:aio:/var/lib/xen/test.img,xvda1,w', 'tap:aio:/var/lib/xen/test.swap,xvda2,w' ]

the problem was in
CONFIG_XEN_BLKDEV_TAP=m

(no module was compiled)
after changing to

CONFIG_XEN_BLKDEV_TAP=y
tap:aio works fine

Itamar Reis Peixoto

e-mail: itamar@xxxxxxxxxxxxxxxx
msn: itamarjp@xxxxxxxxxxxxx
skype: itamarjp
icq: 81053601
+55 34 3238 3845
+55 11 4063 5033
----- Original Message ----- From: "marek cervenka" <cervajs@xxxxxxxxxx>
To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, March 20, 2007 1:28 PM
Subject: [Xen-users] blktap howto


hi,

i'm trying move from file: based disk to tap:aio but things don't work

i have centos4 dom0 with centos4 domU
xen 3.0.4-testing changeset:   13138:d401cb96d8a0 self compiled

[root@xen linux-2.6.16.38-xen]# grep XEN_BLKDEV_TAP .config
CONFIG_XEN_BLKDEV_TAP=m

config
disk = [ 'file:/var/lib/xen/test.img,hda1,w', 'file:/var/lib/xen/test.swap,hda2,w' ]
changed to
disk = [ 'tap:aio:/var/lib/xen/test.img,hda1,w', 'tap:aio:/var/lib/xen/test.swap,hda2,w' ]

blktapctrl do nothing

domU cannot start, fail when mounting root

what i'm doing wrong?
i dont have any kernel module for blktap, is this ok?

---------------------------------------
Marek Cervenka
Centrum Vypocetni Techniky
CVT - http://cvt.fpf.slu.cz
FPF SLU OPAVA - http://www.fpf.slu.cz
LCNA - http://lcna.slu.cz
=======================================


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



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


---------------------------------------
Marek Cervenka
Centrum Vypocetni Techniky
CVT             - http://cvt.fpf.slu.cz
FPF SLU OPAVA   - http://www.fpf.slu.cz
LCNA            - http://lcna.slu.cz
=======================================


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

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