]> git.baikalelectronics.ru Git - kernel.git/commit
vdpa_sim: implement get_iova_range()
authorJason Wang <jasowang@redhat.com>
Fri, 23 Oct 2020 09:00:43 +0000 (17:00 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 23 Oct 2020 15:55:28 +0000 (11:55 -0400)
commit5bea6d8511cabe719c03ebaa48d37c6740e0eec4
tree10727997223c68d3266b39b6fe29ffada3db13cd
parentfda1f1fe2687c35bd78c7184e00bff294168fc6a
vdpa_sim: implement get_iova_range()

This implements a sample get_iova_range() for the simulator which
advertise [0, ULLONG_MAX] as the valid range.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Link: https://lore.kernel.org/r/20201023090043.14430-4-jasowang@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vdpa/vdpa_sim/vdpa_sim.c