On Tue, Feb 19, 2019 at 04:26:08PM +0100, Roger Pau Monne wrote:
> The FreeBSD implementation is missing the following functions:
> 
> osdep_gnttab_dmabuf_exp_from_refs
> osdep_gnttab_dmabuf_exp_wait_released
> osdep_gnttab_dmabuf_imp_to_refs
> osdep_gnttab_dmabuf_imp_release
> 
> Which all deal with dmabufs, that only exists on Linux. Implement them
> using abort, since such functions should never be called on FreeBSD.
> 
> FTR, I realized those functions where missing when attempting to use
> pygrub:
> 
> Traceback (most recent call last):
>   File "/usr/local/lib/xen/bin/pygrub", line 19, in <module>
>     import xen.lowlevel.xc
> ImportError: /usr/local/lib/libxengnttab.so.1: Undefined symbol 
> "osdep_gnttab_dmabuf_exp_from_refs"
> 
> Fixes: ee8105 ("libgnttab: Add support for Linux dma-buf")
> Signed-off-by: Roger Pau Monné <roger....@citrix.com>
> ---
> Cc: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com>
> Cc: Ian Jackson <ian.jack...@eu.citrix.com>
> Cc: Wei Liu <wei.l...@citrix.com>


Acked-by: Wei Liu <wei.l...@citrix.com>

CC Juergen.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to