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

[Xen-users] Re: tap:aio VBD Support.

I'm having the same problem, decided i would test it out.  I built my 
xen/tools/dom0/domU from source using 
http://tx.downloads.xensource.com/xen-3.0-testing.hg changeset 9763.

I have backend block drive set as a module and it's loaded..

[root@localhost /]# lsmod
Module                  Size  Used by
xenblk                 20816  0


but when trying to start a domU i get the following error..

[root@localhost vps1]# xm create -c vpsconfig
Using config file "vpsconfig".
Error: Device 2049 (vbd) could not be connected. Hotplug scripts not 
working.

I've been reading around and this blktap code sounds fairly new?  Does 
testing not have working code for it?  When trying to build blktap in tools 
i get the following

[root@localhost tools]# cd blktap/
[root@localhost blktap]# make
mkdir -p xen
( cd xen && ln -sf ../../../xen/include/public/*.h . )
mkdir -p xen/hvm
( cd xen/hvm && ln -sf ../../../../xen/include/public/hvm/*.h . )
mkdir -p xen/io
( cd xen/io && ln -sf ../../../../xen/include/public/io/*.h . )
mkdir -p xen/linux
( cd xen/linux && \
  ln -sf ../../../../linux-2.6-xen-sparse/include/xen/public/*.h . )
gcc  -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall 
-Wstrict-prototypes 
 -Wdeclaration-after-statement  -D__XEN_INTERFACE_VERSION__=0x00030101 -Werror 
 -Wno-unused -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
 -D_LARGEFILE64_SOURCE -D _GNU_SOURCE -Wp,-MD,.blktaplib.o.d -I. -I 
../../tools/libxc -I ../../tools/xenstore  -c -o blktaplib.o blktaplib.c
In file included from blktaplib.c:30:
blktaplib.h:18:38: xen/io/domain_controller.h: No such file or directory
blktaplib.c:44: warning: function declaration isn't a prototype
blktaplib.c:45: warning: function declaration isn't a prototype
blktaplib.c: In function `blktap_listen':
blktaplib.c:251: warning: ISO C90 forbids mixed declarations and code
blktaplib.c: At top level:
blktaplib.c:442: warning: function declaration isn't a prototype
blktaplib.c:447: warning: function declaration isn't a prototype
make: *** [blktaplib.o] Error 1



-- 

~Shaun 




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

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