From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Roger_Pau_Monn=E9?= Subject: Re: [PATCH RFC 03/23] include: import FreeBSD headers for evtchn and privcmd devices Date: Tue, 22 Apr 2014 16:35:37 +0200 Message-ID: <53567E39.2080001@citrix.com> References: <1397657612-57277-1-git-send-email-roger.pau@citrix.com> <1397657612-57277-4-git-send-email-roger.pau@citrix.com> <21327.65110.335958.931473@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WcbnI-0000Mj-Pc for xen-devel@lists.xenproject.org; Tue, 22 Apr 2014 14:35:33 +0000 In-Reply-To: <21327.65110.335958.931473@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Jackson Cc: xen-devel@lists.xenproject.org, Ian Campbell List-Id: xen-devel@lists.xenproject.org On 17/04/14 18:16, Ian Jackson wrote: > Roger Pau Monne writes ("[PATCH RFC 03/23] include: import FreeBSD header= s for evtchn and privcmd devices"): >> Signed-off-by: Roger Pau Monn=E9 >> Cc: Ian Jackson >> Cc: Ian Campbell > = > 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.