qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCHv3 for-2.13 0/2] Helpers to obtain host page sizes fo


From: David Gibson
Subject: [Qemu-devel] [PATCHv3 for-2.13 0/2] Helpers to obtain host page sizes for guest RAM
Date: Wed, 11 Apr 2018 17:04:16 +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.

Assuming there are no objections, what should be the procedure for
staging this?  Can I put it in my for-2.13 ppc tree, even though it's
technically generic code, or should it go through someone else's tree?

Changes since v2:
  * Corrected grammar error in commit message
  * Correct build error on non-linux hosts
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       | 18 ++++++++++++++++++
 exec.c                   | 20 +++++---------------
 include/sysemu/hostmem.h |  2 ++
 target/ppc/kvm.c         | 10 +---------
 util/mmap-alloc.c        | 26 ++++++++++++++------------
 5 files changed, 40 insertions(+), 36 deletions(-)

-- 
2.14.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]