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)
commit70a62fce262854c4aabaa47e46e82fce9f3f3938
tree10727997223c68d3266b39b6fe29ffada3db13cd
parent1b48dc03e575a872404f33b04cd237953c5d7498
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