summaryrefslogtreecommitdiffstats
path: root/util/iova-tree.c
diff options
context:
space:
mode:
authorDavid Hildenbrand2021-05-10 13:43:14 +0200
committerPaolo Bonzini2021-06-15 20:27:37 +0200
commitadad0b3ae8446acef0670efaa1e835ba37fca4bc (patch)
tree05ead62d1513920593a96873bbd335ca6bda937f /util/iova-tree.c
parentsoftmmu/physmem: Fix qemu_ram_remap() to handle shared anonymous memory (diff)
downloadqemu-adad0b3ae8446acef0670efaa1e835ba37fca4bc.tar.gz
qemu-adad0b3ae8446acef0670efaa1e835ba37fca4bc.tar.xz
qemu-adad0b3ae8446acef0670efaa1e835ba37fca4bc.zip
util/mmap-alloc: Factor out calculation of the pagesize for the guard page
Let's factor out calculating the size of the guard page and rename the variable to make it clearer that this pagesize only applies to the guard page. Reviewed-by: Peter Xu <peterx@redhat.com> Acked-by: Murilo Opsfelder Araujo <muriloo@linux.ibm.com> Acked-by: Eduardo Habkost <ehabkost@redhat.com> for memory backend and machine core Cc: Igor Kotrasinski <i.kotrasinsk@partner.samsung.com> Signed-off-by: David Hildenbrand <david@redhat.com> Message-Id: <20210510114328.21835-2-david@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'util/iova-tree.c')
0 files changed, 0 insertions, 0 deletions