[Qemu-devel] [Bug 1720969] Re: qemu/memory.c:206: pointless copies of large structs ?

2018-07-30 Thread Tristan Burgess
Fix committed and sent upstream: https://github.com/qemu/qemu/commit/73bb753d24a702b37913ce4b5ddb6dca40dab067 ** Changed in: qemu Status: New => Fix Committed ** Changed in: qemu Assignee: (unassigned) => Tristan Burgess (tburgessdev) -- You received this bug notification b

[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