diff options
author | Tristan Burgess | 2018-05-29 05:04:45 +0200 |
---|---|---|
committer | Paolo Bonzini | 2018-06-01 15:14:31 +0200 |
commit | 73bb753d24a702b37913ce4b5ddb6dca40dab067 (patch) | |
tree | af76f0405e89b0950102fdf783a65739d50c7a65 /scripts/qapi/common.py | |
parent | char: Remove unwanted crlf conversion (diff) | |
download | qemu-73bb753d24a702b37913ce4b5ddb6dca40dab067.tar.gz qemu-73bb753d24a702b37913ce4b5ddb6dca40dab067.tar.xz qemu-73bb753d24a702b37913ce4b5ddb6dca40dab067.zip |
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>
Diffstat (limited to 'scripts/qapi/common.py')
0 files changed, 0 insertions, 0 deletions