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@xxxxxxxxxx> --- 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@xxxxxxxxxx> _______________________________________________ Virtualization mailing list Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linuxfoundation.org/mailman/listinfo/virtualization