Re: [virtio-dev] Re: [PATCH 1/2] virtio: add dma-buf support for exported objects

From: Gerd Hoffmann
Date: Wed Feb 26 2020 - 11:07:27 EST


On Wed, Feb 26, 2020 at 12:56:58PM +0900, David Stevens wrote:
> On Tue, Feb 25, 2020 at 3:10 PM Gerd Hoffmann <kraxel@xxxxxxxxxx> wrote:
> >
> > How about dma_buf_{get,set}_uuid, simliar to dma_buf_set_name?
>
> While I'm not opposed to such an API, I'm also hesitant to make
> changes to the dma-buf API for a single use case.

See virtio-wayland discussion. I expect we will see more cases show up.
Maybe this should even go one level up, to struct file.

cheers,
Gerd