Re: [PATCH v2] softmmu/memory: fix memory_region_ioeventfd_equal()

2020-10-20 Thread Stefan Hajnoczi
On Mon, Oct 19, 2020 at 01:20:13PM -0700, Elena Afanasova wrote: > Eventfd can be registered with a zero length when fast_mmio is true. > Handle this case properly when dispatching through QEMU. > > Signed-off-by: Elena Afanasova > --- > softmmu/memory.c | 11 +-- > 1 file changed, 9 ins

[PATCH v2] softmmu/memory: fix memory_region_ioeventfd_equal()

2020-10-19 Thread Elena Afanasova
Eventfd can be registered with a zero length when fast_mmio is true. Handle this case properly when dispatching through QEMU. Signed-off-by: Elena Afanasova --- softmmu/memory.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/softmmu/memory.c b/softmmu/memory.c in