[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PATCHv2 for-2.13 0/2] Helpers to obtain host page sizes for
From: |
David Gibson |
Subject: |
[Qemu-ppc] [PATCHv2 for-2.13 0/2] Helpers to obtain host page sizes for guest RAM |
Date: |
Thu, 5 Apr 2018 12:20:00 +1000 |
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
- [Qemu-ppc] [PATCHv2 for-2.13 0/2] Helpers to obtain host page sizes for guest RAM,
David Gibson <=