This series makes some small changes to make it easier to obtain the host page size backing given portions of guest RAM. We use this in a couple of places currently, and I have one or two more to add in some upcoming code.
Changes since v1: * Reworked design based on Eduardo's feedback * Split into two patches David Gibson (2): Make qemu_mempath_getpagesize() accept NULL Add host_memory_backend_pagesize() helper backends/hostmem.c | 11 +++++++++++ exec.c | 20 +++++--------------- include/sysemu/hostmem.h | 2 ++ target/ppc/kvm.c | 10 +--------- util/mmap-alloc.c | 26 ++++++++++++++------------ 5 files changed, 33 insertions(+), 36 deletions(-) -- 2.14.3