Re: [PATCH v4 9/9] xen/gntdev: Implement dma-buf import functionality

From: Boris Ostrovsky
Date: Fri Jun 15 2018 - 17:03:41 EST

On 06/15/2018 02:27 AM, Oleksandr Andrushchenko wrote:
> From: Oleksandr Andrushchenko <oleksandr_andrushchenko@xxxxxxxx>
> 1. Import a dma-buf with the file descriptor provided and export
> granted references to the pages of that dma-buf into the array
> of grant references.
> 2. Add API to close all references to an imported buffer, so it can be
> released by the owner. This is only valid for buffers created with
> Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@xxxxxxxx>

Reviewed-by: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>