diff options
author | Eugenio Pérez <eperezma@redhat.com> | 2021-10-14 16:12:36 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2021-10-20 04:37:55 -0400 |
commit | 013108b6e51e1c10b78859e2e091202364aa7a7d (patch) | |
tree | b3520190e397232a7349a871b7bdad06c11fc1e9 /hw/virtio/virtio-iommu-pci.c | |
parent | 032e4d686e9c6f8ae3b9206c720ae3614e28d8a3 (diff) |
vdpa: Check for iova range at mappings changes
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>
Message-Id: <20211014141236.923287-4-eperezma@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Diffstat (limited to 'hw/virtio/virtio-iommu-pci.c')
0 files changed, 0 insertions, 0 deletions