qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v4 3/3] vdpa: Check for iova range at mappings changes


From: Stefano Garzarella
Subject: Re: [PATCH v4 3/3] vdpa: Check for iova range at mappings changes
Date: Mon, 18 Oct 2021 11:22:18 +0200

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@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@redhat.com>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]