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


Reply via email to