Re: [PATCH v14 3/4] vhost-vdpa: Add check for full 64-bit in region delete

2023-03-20 Thread Jason Wang
On Tue, Mar 21, 2023 at 12:20 AM Cindy Lu wrote: > > The unmap ioctl doesn't accept a full 64-bit span. So need to > add check for the section's size in vhost_vdpa_listener_region_del(). > > Signed-off-by: Cindy Lu Acked-by: Jason Wang Thanks > --- > hw/virtio/vhost-vdpa.c | 20

[PATCH v14 3/4] vhost-vdpa: Add check for full 64-bit in region delete

2023-03-20 Thread Cindy Lu
The unmap ioctl doesn't accept a full 64-bit span. So need to add check for the section's size in vhost_vdpa_listener_region_del(). Signed-off-by: Cindy Lu --- hw/virtio/vhost-vdpa.c | 20 +++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/hw/virtio/vhost-vdpa.c