Re: [Xen-devel] [PATCH v2 5/5] libxc: rumpxen: provide xc_osdep_info

2015-03-03 Thread Wei Liu
On Tue, Mar 03, 2015 at 05:59:39PM +0100, Samuel Thibault wrote: > Wei Liu, le Tue 03 Mar 2015 16:58:07 +, a écrit : > > 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

Re: [Xen-devel] [PATCH v2 5/5] libxc: rumpxen: provide xc_osdep_info

2015-03-03 Thread Ian Campbell
On Tue, 2015-03-03 at 17:59 +0100, Samuel Thibault wrote: > Wei Liu, le Tue 03 Mar 2015 16:58:07 +, a écrit : > > 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 us

Re: [Xen-devel] [PATCH v2 5/5] libxc: rumpxen: provide xc_osdep_info

2015-03-03 Thread Samuel Thibault
Wei Liu, le Tue 03 Mar 2015 16:58:07 +, a écrit : > 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

Re: [Xen-devel] [PATCH v2 5/5] libxc: rumpxen: provide xc_osdep_info

2015-03-03 Thread Samuel Thibault
Wei Liu, le Tue 03 Mar 2015 16:41:23 +, a écrit : > On Tue, Mar 03, 2015 at 05:05:29PM +0100, Samuel Thibault wrote: > > Wei Liu, le Tue 03 Mar 2015 15:57:21 +, a écrit : > > > This allows programs which use the bulk of libxc to link. We use > > > /dev/xenevt for event channels, the raw mi

Re: [Xen-devel] [PATCH v2 5/5] libxc: rumpxen: provide xc_osdep_info

2015-03-03 Thread Wei Liu
On Tue, Mar 03, 2015 at 04:41:23PM +, Wei Liu wrote: > On Tue, Mar 03, 2015 at 05:05:29PM +0100, Samuel Thibault wrote: > > Wei Liu, le Tue 03 Mar 2015 15:57:21 +, a écrit : > > > This allows programs which use the bulk of libxc to link. We use > > > /dev/xenevt for event channels, the raw

Re: [Xen-devel] [PATCH v2 5/5] libxc: rumpxen: provide xc_osdep_info

2015-03-03 Thread Wei Liu
On Tue, Mar 03, 2015 at 05:05:29PM +0100, Samuel Thibault wrote: > Wei Liu, le Tue 03 Mar 2015 15:57:21 +, a écrit : > > This allows programs which use the bulk of libxc to link. We use > > /dev/xenevt for event channels, the raw minios functions for privcmd > > and gnttab, and the netbsd vers

Re: [Xen-devel] [PATCH v2 5/5] libxc: rumpxen: provide xc_osdep_info

2015-03-03 Thread Samuel Thibault
Wei Liu, le Tue 03 Mar 2015 15:57:21 +, a écrit : > This allows programs which use the bulk of libxc to link. We use > /dev/xenevt for event channels, the raw minios functions for privcmd > and gnttab, and the netbsd versions of discard_file_cache and > xc_memalign. > > Signed-off-by: Ian Jac

[Xen-devel] [PATCH v2 5/5] libxc: rumpxen: provide xc_osdep_info

2015-03-03 Thread Wei Liu
This allows programs which use the bulk of libxc to link. We use /dev/xenevt for event channels, the raw minios functions for privcmd and gnttab, and the netbsd versions of discard_file_cache and xc_memalign. Signed-off-by: Ian Jackson Signed-off-by: Wei Liu --- tools/libxc/Makefile