From: Wei Liu Subject: Re: [PATCH v2 5/5] libxc: rumpxen: provide xc_osdep_info Date: Tue, 3 Mar 2015 17:25:31 +0000 Message-ID: <20150303172531.GH11855@zion.uk.xensource.com> References: <1425398241-20807-1-git-send-email-wei.liu2@citrix.com> <1425398241-20807-6-git-send-email-wei.liu2@citrix.com> <20150303160529.GO9968@type.bordeaux.inria.fr> <20150303164123.GC11855@zion.uk.xensource.com> <20150303165807.GF11855@zion.uk.xensource.com> <20150303165939.GU9968@type.bordeaux.inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <20150303165939.GU9968@type.bordeaux.inria.fr> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Samuel Thibault , Wei Liu , xen-devel@lists.xen.org, ian.campbell@citrix.com, ian.jackson@eu.citrix.com, stefano.stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.org On Tue, Mar 03, 2015 at 05:59:39PM +0100, Samuel Thibault wrote: > Wei Liu, le Tue 03 Mar 2015 16:58:07 +0000, a =E9crit : > > Rump kernel doesn't use mini-os's fd management facility so there is no > > alloc_fd etc. On the other hand this makes me think number 1 is as good > > as any other number we can use. > = > Does Rump have not fd at all? It'd probably still be good to have AIUI it's using NetBSD's facility or it just doesn't care. The mini-os fork (!) in rump kernel doesn't have alloc_fd etc. > different, even if hardcoded, fd numbers, for potentially easier > debugging. Fair enough. I'm going to use ... 0xff (and probably comes with a #define in code). Wei. > = > Samuel