]> git.proxmox.com Git - mirror_qemu.git/commit
memory: Make operations using MemoryRegionIoeventfd struct pass by pointer.
authorTristan Burgess <tburgessdev@gmail.com>
Tue, 29 May 2018 03:04:45 +0000 (23:04 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 1 Jun 2018 13:14:31 +0000 (15:14 +0200)
commit73bb753d24a702b37913ce4b5ddb6dca40dab067
treeaf76f0405e89b0950102fdf783a65739d50c7a65
parent12fb0ac0575df83cec72ec5ede293561ee634cc9
memory: Make operations using MemoryRegionIoeventfd struct pass by pointer.

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 <tburgessdev@gmail.com>
Message-Id: <20180529030445.177867-1-tburgessdev@gmail.com>
Fixes: Launchpad bug 1720969
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
memory.c