[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v2] libvchan: interdomain communications library



Daniel De Graaf writes ("[Xen-devel] [PATCH v2] libvchan: interdomain 
communications library"):
> This library implements a bidirectional communication interface between
> applications in different domains, similar to unix sockets. Data can be
> sent using the byte-oriented libvchan_read/libvchan_write or the
> packet-oriented libvchan_recv/libvchan_send.
> 
> Channel setup is done using a client-server model; domain IDs and a port
> number must be negotiated prior to initialization. The server allocates
> memory for the shared pages and determines the sizes of the
> communication rings (which may span multiple pages, although the default
> places rings and control within a single page).
> 
> With properly sized rings, testing has shown that this interface
> provides speed comparable to pipes within a single Linux domain; it is
> significantly faster than network-based communication.

This doesn't build for me.

Ian.

make[3]: Entering directory `/u/iwj/work/xen-unstable-tools.hg/tools/libvchan'
gcc  -O1 -fno-omit-frame-pointer -m32 -march=i686 -g -fno-strict-aliasing 
-std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value 
-Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF .init.o.d 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-D_LARGEFILE64_SOURCE -fno-optimize-sibling-calls -mno-tls-direct-seg-refs 
-I../include -I. -fPIC  -c -o init.o init.c
init.c:41:16: warning: xs.h: No such file or directory
In file included from init.c:44:
../include/xen/sys/gntalloc.h:22: error: expected specifier-qualifier-list 
before 'uint16_t'
../include/xen/sys/gntalloc.h:46: error: expected specifier-qualifier-list 
before 'uint64_t'
../include/xen/sys/gntalloc.h:70: error: expected specifier-qualifier-list 
before 'uint64_t'
In file included from init.c:45:
../include/xen/sys/gntdev.h:38: error: expected specifier-qualifier-list before 
'uint32_t'
../include/xen/sys/gntdev.h:53: error: expected specifier-qualifier-list before 
'uint32_t'
../include/xen/sys/gntdev.h:73: error: expected specifier-qualifier-list before 
'uint64_t'
../include/xen/sys/gntdev.h:96: error: expected specifier-qualifier-list before 
'uint64_t'
../include/xen/sys/gntdev.h:116: error: expected specifier-qualifier-list 
before 'uint32_t'
../include/xen/sys/gntdev.h:138: error: expected specifier-qualifier-list 
before 'uint64_t'
init.c: In function 'init_gnt_srv':
init.c:76: error: 'struct ioctl_gntalloc_alloc_gref' has no member named 'domid'
init.c:77: error: 'struct ioctl_gntalloc_alloc_gref' has no member named 'flags'
init.c:78: error: 'struct ioctl_gntalloc_alloc_gref' has no member named 'count'
init.c:84: error: 'struct ioctl_gntalloc_alloc_gref' has no member named 'index'
init.c:90: error: 'struct ioctl_gntalloc_alloc_gref' has no member named 
'gref_ids'
init.c:105: error: 'struct ioctl_gntalloc_unmap_notify' has no member named 
'index'
init.c:105: error: 'struct ioctl_gntalloc_alloc_gref' has no member named 
'index'
init.c:106: error: 'struct ioctl_gntalloc_unmap_notify' has no member named 
'action'
init.c:107: error: 'struct ioctl_gntalloc_unmap_notify' has no member named 
'event_channel_port'
init.c:117: error: 'struct ioctl_gntalloc_alloc_gref' has no member named 
'count'
init.c:122: error: 'struct ioctl_gntalloc_alloc_gref' has no member named 
'index'
init.c:126: error: 'struct ioctl_gntalloc_alloc_gref' has no member named 
'gref_ids'
init.c:134: error: 'struct ioctl_gntalloc_alloc_gref' has no member named 
'count'
init.c:139: error: 'struct ioctl_gntalloc_alloc_gref' has no member named 
'index'
init.c:144: error: 'struct ioctl_gntalloc_alloc_gref' has no member named 
'gref_ids'
init.c: In function 'do_gnt_map':
init.c:167: error: 'struct ioctl_gntdev_map_grant_ref' has no member named 
'refs'
init.c:168: error: 'struct ioctl_gntdev_map_grant_ref' has no member named 
'count'
init.c:170: error: 'struct ioctl_gntdev_map_grant_ref' has no member named 
'refs'
init.c:171: error: 'struct ioctl_gntdev_map_grant_ref' has no member named 
'refs'
init.c:178: error: 'struct ioctl_gntdev_map_grant_ref' has no member named 
'index'
init.c:179: error: 'struct ioctl_gntdev_map_grant_ref' has no member named 
'index'
init.c:182: error: unknown field 'index' specified in initializer
init.c:182: error: 'struct ioctl_gntdev_map_grant_ref' has no member named 
'index'
init.c:182: warning: excess elements in struct initializer
init.c:182: warning: (near initialization for 'undo')
init.c:183: error: unknown field 'count' specified in initializer
init.c:183: error: 'struct ioctl_gntdev_map_grant_ref' has no member named 
'count'
init.c:184: warning: excess elements in struct initializer
init.c:184: warning: (near initialization for 'undo')
init.c: In function 'init_gnt_cli':
init.c:246: error: 'struct ioctl_gntdev_unmap_notify' has no member named 
'index'
init.c:247: error: 'struct ioctl_gntdev_unmap_notify' has no member named 
'action'
init.c:248: error: 'struct ioctl_gntdev_unmap_notify' has no member named 
'event_channel_port'
init.c: In function 'init_xs_srv':
init.c:286: error: array type has incomplete element type
init.c:290: warning: implicit declaration of function 'xs_domain_open'
init.c:290: warning: assignment makes pointer from integer without a cast
init.c:293: warning: implicit declaration of function 'xs_read'
init.c:293: warning: assignment makes pointer from integer without a cast
init.c:300: error: 'XS_PERM_NONE' undeclared (first use in this function)
init.c:300: error: (Each undeclared identifier is reported only once
init.c:300: error: for each function it appears in.)
init.c:303: error: 'XS_PERM_READ' undeclared (first use in this function)
init.c:307: warning: implicit declaration of function 'xs_write'
init.c:309: warning: implicit declaration of function 'xs_set_permissions'
init.c:322: warning: implicit declaration of function 'xs_daemon_close'
init.c:286: warning: unused variable 'perms'
init.c: In function 'libvchan_client_init':
init.c:418: warning: implicit declaration of function 'xs_daemon_open'
init.c:418: warning: assignment makes pointer from integer without a cast
init.c:420: warning: assignment makes pointer from integer without a cast
init.c:427: warning: assignment makes pointer from integer without a cast
init.c:436: warning: assignment makes pointer from integer without a cast
make[3]: *** [init.o] Error 1
make[3]: Leaving directory `/u/iwj/work/xen-unstable-tools.hg/tools/libvchan'
make[2]: *** [subdir-install-libvchan] Error 2
make[2]: Leaving directory `/u/iwj/work/xen-unstable-tools.hg/tools'
make[1]: *** [subdirs-install] Error 2
make[1]: Leaving directory `/u/iwj/work/xen-unstable-tools.hg/tools'
make: *** [install-tools] Error 2
mariner:xen-unstable-tools.hg> hg status
M tools/Makefile
M tools/include/xen-sys/Linux/gntdev.h
? tools/include/xen-sys/Linux/gntalloc.h
? tools/libvchan/Makefile
? tools/libvchan/init.c
? tools/libvchan/io.c
? tools/libvchan/node-select.c
? tools/libvchan/node.c
? xen/include/headers.chk.new
? xen/include/public/io/libvchan.h
mariner:xen-unstable-tools.hg>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.