Re: [Qemu-devel] [PATCH] memory: bug 1720969: Make operations using MemoryRegionIoeventfd struct pass by pointer.

2018-05-29 Thread Paolo Bonzini
On 29/05/2018 05:04, Tristan Burgess wrote: > This changes the functions memory_region_ioeventfd_equal, > memory_region_ioeventfd_before, and their callers, > to pass the MemoryRegionIoeventfd struct via pointer, instead of directly > passing the struct. This saves on stack space > and is

[Qemu-devel] [PATCH] memory: bug 1720969: Make operations using MemoryRegionIoeventfd struct pass by pointer.

2018-05-28 Thread Tristan Burgess
This changes the functions memory_region_ioeventfd_equal, memory_region_ioeventfd_before, and their callers, to pass the MemoryRegionIoeventfd struct via pointer, instead of directly passing the struct. This saves on stack space and is considered safe practice. Signed-off-by: Tristan Burgess