On Thu, Oct 14, 2021 at 04:12:35PM +0200, Eugenio P?rez wrote:>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 at redhat.com> >Acked-by: Jason Wang <jasowang at redhat.com> >--- > hw/virtio/vhost-vdpa.c | 22 +++++++++++++++------- > 1 file changed, 15 insertions(+), 7 deletions(-)Reviewed-by: Stefano Garzarella <sgarzare at redhat.com>