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

[PATCH] Re: [Xen-devel] Re: [Pkg-xen-devel] xen 4.1 blktap2 support

Ian Campbell writes ("[PATCH] Re: [Xen-devel] Re: [Pkg-xen-devel] xen 4.1 
blktap2 support"):
> Agreed, and anyway libxl_exec is a generic is supposed to be a generic
> interface so having it close file handles which the caller _wants_ to
> pass to the child is a bit unhelpful.
> Lets try the below to start with.

It looks good but you are missing some #includes I think:

cc1: warnings being treated as errors
libxl_exec.c: In function 'check_open_fds':
libxl_exec.c:56: error: implicit declaration of function 'fcntl'
libxl_exec.c:56: error: 'F_GETFD' undeclared (first use in this function)
libxl_exec.c:56: error: (Each undeclared identifier is reported only once
libxl_exec.c:56: error: for each function it appears in.)
libxl_exec.c:64: error: 'FD_CLOEXEC' undeclared (first use in this function)
libxl_exec.c: In function 'libxl__spawn_spawn':
libxl_exec.c:175: error: 'pipes' undeclared (first use in this function)
make: *** [libxl_exec.o] Error 1


Xen-devel mailing list



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