path: root/drivers/virtio/virtio_vdpa.c
Commit message (Collapse)AuthorAgeFilesLines
* virtio_vdpa: don't warn when fail to disable vqJason Wang2021-02-231-2/+1
| | | | | | | | | | There's no guarantee that the device can disable a specific virtqueue through set_vq_ready(). One example is the modern virtio-pci device. So this patch removes the warning. Signed-off-by: Jason Wang <> Link: Signed-off-by: Michael S. Tsirkin <>
* virtio_vdpa: legacy features handlingMichael S. Tsirkin2020-08-051-6/+3
| | | | | | | | We normally expect vdpa to use the modern interface. However for consistency, let's use same APIs as vhost for legacy guests. Signed-off-by: Michael S. Tsirkin <>
* virtio: introduce a vDPA based transportJason Wang2020-04-011-0/+396
This patch introduces a vDPA transport for virtio. This is used to use kernel virtio driver to drive the vDPA device that is capable of populating virtqueue directly. A new virtio-vdpa driver will be registered to the vDPA bus, when a new virtio-vdpa device is probed, it will register the device with vdpa based config ops. This means it is a software transport between vDPA driver and vDPA device. The transport was implemented through bus_ops of vDPA parent. Signed-off-by: Jason Wang <> Link: Signed-off-by: Michael S. Tsirkin <>