Re: [Xen-devel] [PATCH] gnttab: Add gntdev device mappings for FreeBSD

2016-08-17 Thread Akshay Jaggi
On 11 August 2016 at 21:34, Wei Liu wrote: > > Please send a separate patch for linux.c as we probably want to backport > that. > > It needs changes to "private.h" and other files too, so I will have to send another patch anyway. If you see in gntshr_core.c, you will notice we are passing -1 to a

Re: [Xen-devel] [PATCH] gnttab: Add gntdev device mappings for FreeBSD

2016-08-11 Thread Wei Liu
On Thu, Aug 04, 2016 at 06:23:51PM +0530, Akshay Jaggi wrote: > Add grant table userspace device mappings for > FreeBSD (enables support for qdisk backend > on FreeBSD Dom0). > > Signed-off-by: Akshay Jaggi > --- > tools/include/xen-sys/FreeBSD/gntdev.h | 118 > tools/libs/gnttab/Ma

Re: [Xen-devel] [PATCH] gnttab: Add gntdev device mappings for FreeBSD

2016-08-11 Thread Wei Liu
On Sun, Aug 07, 2016 at 03:48:44PM +0530, Akshay Jaggi wrote: > > > +int fd = xgt->fd, rc; > > > +struct ioctl_gntdev_set_max_grants max_grants = { .count = count }; > > > + > > > +rc = ioctl(fd, IOCTL_GNTDEV_SET_MAX_GRANTS, &max_grants); > > > +if (rc) { > > > > Coding style, the b

Re: [Xen-devel] [PATCH] gnttab: Add gntdev device mappings for FreeBSD

2016-08-07 Thread Akshay Jaggi
On 5 August 2016 at 22:15, Roger Pau Monné wrote: > On Thu, Aug 04, 2016 at 06:23:51PM +0530, Akshay Jaggi wrote: > > Add grant table userspace device mappings for > > FreeBSD (enables support for qdisk backend > > on FreeBSD Dom0). > > > > Signed-off-by: Akshay Jaggi > > --- > > tools/include/

Re: [Xen-devel] [PATCH] gnttab: Add gntdev device mappings for FreeBSD

2016-08-05 Thread Roger Pau Monné
On Thu, Aug 04, 2016 at 06:23:51PM +0530, Akshay Jaggi wrote: > Add grant table userspace device mappings for > FreeBSD (enables support for qdisk backend > on FreeBSD Dom0). > > Signed-off-by: Akshay Jaggi > --- > tools/include/xen-sys/FreeBSD/gntdev.h | 118 > tools/libs/gnttab/Ma