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

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

To: Ian Campbell <ijc@xxxxxxxxxxxxxx>
Subject: [PATCH] Re: [Xen-devel] Re: [Pkg-xen-devel] xen 4.1 blktap2 support
From: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Date: Fri, 20 May 2011 18:08:13 +0100
Cc: Bastian Blank <waldi@xxxxxxxxxx>, "pkg-xen-devel@xxxxxxxxxxxxxxxxxxxxxxx" <pkg-xen-devel@xxxxxxxxxxxxxxxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 20 May 2011 10:09:02 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1304597864.26692.79.camel@xxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Newsgroups: chiark.mail.xen.devel
References: <4DB82B38.6090207@xxxxxxxxx> <BAY148-w56B2B88110870F89DE84D4EF980@xxxxxxx> <4DB89A39.6070203@xxxxxxxxx> <BAY148-w282F83283CEBAD8F438117EF9B0@xxxxxxx> <4DB91947.2070203@xxxxxxxxx> <1303977639.25988.1447.camel@xxxxxxxxxxxxxxxxxxxxx> <20110428110658.GA26816@xxxxxxxxxxxxxxxxxxxxxxx> <1303990128.25988.1570.camel@xxxxxxxxxxxxxxxxxxxxx> <20110428122719.GA27897@xxxxxxxxxxxxxxxxxxxxxxx> <1304000458.25988.1731.camel@xxxxxxxxxxxxxxxxxxxxx> <20110429110808.GA14859@xxxxxxxxxxxxxxxxxxxxxxx> <1304597864.26692.79.camel@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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

Ian.

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