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

Re: [Xen-devel] [PATCH v2 1/3] libxc: add suport for NetBSD gntdev



On Thu, 2012-11-29 at 17:31 +0000, Roger Pau Monne wrote:
> Add OS specific handlers for NetBSD gntdev. The main difference is
> that NetBSD passes the VA where the grant should be set inside the
> IOCTL_GNTDEV_MAP_GRANT_REF ioctl, instead of using mmap (this is due
> to OS constraints).
> 
> Signed-off-by: Roger Pau Monnà <roger.pau@xxxxxxxxxx>

Is anyone from the NetBSD camp likely to review this code?

Otherwise I'm minded to just throw it in, given that it looks OK to
me ;-)

> +static int netbsd_gnttab_set_max_grants(xc_gnttab *xch, xc_osdep_handle h,
> +                                       uint32_t count)
> +{
> +    /* NetBSD doesn't implement this feature */
> +    return 0;
> +}

Is -ENOSYS or "errno=ENOSYS; return -1" more appropriate then?

Ian.


_______________________________________________
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®.