The Virtio based Dmabuf (Vdmabuf) driver can be used to “transfer” a page-backed dmabuf created in the Guest to the Host without making any copies. This is mostly accomplished by recreating the dmabuf on the Host using the PFNs and other meta-data shared by the guest.

vhost-vdmabuf: Add virtio based Dmabuf device
在此处,virtio based Dmabuf device与virtio-gpu的功能类似。
但是virtio-gpu的生态更好,所以最终选择了virtio-gpu方案!


参考资料:

  1. Introduce Virtio based Dmabuf driver(s)
  2. slides: Passthrough/Headless GPU Gets A Head
  3. video: Passthrough/Headless GPU Gets Ahead