[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] vfio: add check for memory region overflow cond
From: |
Alex Williamson |
Subject: |
Re: [Qemu-devel] [PATCH] vfio: add check for memory region overflow condition |
Date: |
Tue, 22 Mar 2016 13:31:50 -0600 |
On Tue, 22 Mar 2016 15:07:00 -0400
Bandan Das <address@hidden> wrote:
> Peter Xu <address@hidden> writes:
>
> > On Mon, Mar 21, 2016 at 06:00:50PM -0400, Bandan Das wrote:
> >>
> >> vfio_listener_region_add for a iommu mr results in
> >> an overflow assert since emulated iommu memory region is initialized
> >> with UINT64_MAX. Add a check just like memory_region_size()
> >> does.
> >
> > Hi, Bandan,
> >
> > In case you missed this:
> >
> > https://lists.gnu.org/archive/html/qemu-devel/2016-03/msg02865.html
>
> Thank you Peter, I wasn't aware. But unfortunately, I don't think he's doing
> the right
> thing either when handing @end ? Oh well, it's a RFC :)
Agree, the fix there is bogus too.
- Re: [Qemu-devel] [PATCH] vfio: add check for memory region overflow condition, (continued)
- Re: [Qemu-devel] [PATCH] vfio: add check for memory region overflow condition, Alex Williamson, 2016/03/21
- Re: [Qemu-devel] [PATCH] vfio: add check for memory region overflow condition, Bandan Das, 2016/03/21
- Re: [Qemu-devel] [PATCH] vfio: add check for memory region overflow condition, Alex Williamson, 2016/03/21
- Re: [Qemu-devel] [PATCH] vfio: add check for memory region overflow condition, Bandan Das, 2016/03/21
- Re: [Qemu-devel] [PATCH] vfio: add check for memory region overflow condition, Alex Williamson, 2016/03/21
- Re: [Qemu-devel] [PATCH] vfio: add check for memory region overflow condition, Bandan Das, 2016/03/22
- Re: [Qemu-devel] [PATCH] vfio: add check for memory region overflow condition, Alex Williamson, 2016/03/22
- Re: [Qemu-devel] [PATCH] vfio: add check for memory region overflow condition, Bandan Das, 2016/03/22
Re: [Qemu-devel] [PATCH] vfio: add check for memory region overflow condition, Peter Xu, 2016/03/21