summaryrefslogtreecommitdiffstats
path: root/drivers/vdpa/vdpa.c
Commit message (Collapse)AuthorAgeFilesLines
* vdpa: fix comment of vdpa_register_device()Jason Wang2020-04-171-1/+1
| | | | | | | | | | The function should be called only after a success calling for vdpa_alloc_device(). Reported-by: Eli Cohen <eli@mellanox.com> Signed-off-by: Jason Wang <jasowang@redhat.com> Link: https://lore.kernel.org/r/20200413093738.28467-1-jasowang@redhat.com Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
* vdpa: move to drivers/vdpaMichael S. Tsirkin2020-04-021-0/+180
We have both vhost and virtio drivers that depend on vdpa. It's easier to locate it at a top level directory otherwise we run into issues e.g. if vhost is built-in but virtio is modular. Let's just move it up a level. Reported-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>