virtio: add dma-buf support for exported objects
This change adds a new flavor of dma-bufs that can be used by virtio drivers to share exported objects. A virtio dma-buf can be queried by virtio drivers to obtain the UUID which identifies the underlying exported object. Signed-off-by:David Stevens <stevensd@chromium.org> Acked-by:
Michael S. Tsirkin <mst@redhat.com> Link: http://patchwork.freedesktop.org/patch/msgid/20200818071343.3461203-2-stevensd@chromium.org Signed-off-by:
Gerd Hoffmann <kraxel@redhat.com>
Showing
- drivers/virtio/Makefile 1 addition, 1 deletiondrivers/virtio/Makefile
- drivers/virtio/virtio.c 6 additions, 0 deletionsdrivers/virtio/virtio.c
- drivers/virtio/virtio_dma_buf.c 85 additions, 0 deletionsdrivers/virtio/virtio_dma_buf.c
- include/linux/virtio.h 1 addition, 0 deletionsinclude/linux/virtio.h
- include/linux/virtio_dma_buf.h 37 additions, 0 deletionsinclude/linux/virtio_dma_buf.h
Loading
Please register or sign in to comment