Stefano Garzarella
2021-Oct-18 09:22 UTC
[PATCH v4 3/3] vdpa: Check for iova range at mappings changes
On Thu, Oct 14, 2021 at 04:12:36PM +0200, Eugenio P?rez wrote:>Check vdpa device range before updating memory regions so we don't add >any outside of it, and report the invalid change if any. > >Signed-off-by: Eugenio P?rez <eperezma at redhat.com> >--- > include/hw/virtio/vhost-vdpa.h | 2 ++ > hw/virtio/vhost-vdpa.c | 62 +++++++++++++++++++++++++--------- > hw/virtio/trace-events | 1 + > 3 files changed, 49 insertions(+), 16 deletions(-)Reviewed-by: Stefano Garzarella <sgarzare at redhat.com>