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

Re: [Xen-devel] [PATCH RFC 03/23] include: import FreeBSD headers for evtchn and privcmd devices



On 17/04/14 18:16, Ian Jackson wrote:
> Roger Pau Monne writes ("[PATCH RFC 03/23] include: import FreeBSD headers 
> for evtchn and privcmd devices"):
>> Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
>> Cc: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
>> Cc: Ian Campbell <ian.campbell@xxxxxxxxxx>
> 
> Is it usual, then in the FreeBSD world, for an application program to
> take a copy of kernel headers defining ioctls etc. ?  This seems
> surprising to me.  It would seem more sensible for the application to
> use the headers installed on the build host.

I would say it's certainly not common, but every OS with Dom0 support
seems to do it (take a look at tools/include/xen-sys).

Not sure if this was done in the past to allow compiling the toolstack
on a host without a xen-classic kernel (which I guess was the only one
to have the proper headers for user-space devices).

Roger.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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