vdpa: Add vhost_vdpa_section_end
commit032e4d686e9c6f8ae3b9206c720ae3614e28d8a3
authorEugenio Pérez <eperezma@redhat.com>
Thu, 14 Oct 2021 14:12:35 +0000 (14 16:12 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 20 Oct 2021 08:37:55 +0000 (20 04:37 -0400)
tree95043674d3255f3ced64aa7093e6fb3ec6b95e43
parentc64038c93e171697058d96871f87a4438b613662
vdpa: Add vhost_vdpa_section_end

Abstract this operation, that will be reused when validating the region
against the iova range that the device supports.

Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20211014141236.923287-3-eperezma@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
hw/virtio/vhost-vdpa.c