qemu/include/sysemu
David Gibson 2b10808539 Add host_memory_backend_pagesize() helper
There are a couple places (one generic, one target specific) where we need
to get the host page size associated with a particular memory backend.  I
have some upcoming code which will add another place which wants this.  So,
for convenience, add a helper function to calculate this.

host_memory_backend_pagesize() returns the host pagesize for a given
HostMemoryBackend object.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Greg Kurz <groug@kaod.org>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
2018-04-27 18:05:22 +10:00
..
accel.h AccelClass: Introduce accel_setup_post 2018-04-26 16:29:50 +01:00
arch_init.h
balloon.h
block-backend.h
blockdev.h
bt.h
cpus.h
cryptodev-vhost-user.h
cryptodev-vhost.h
cryptodev.h
device_tree.h
dma.h
dump-arch.h
dump.h
hax.h
hostmem.h Add host_memory_backend_pagesize() helper 2018-04-27 18:05:22 +10:00
hvf.h
hw_accel.h
iothread.h
kvm.h
kvm_int.h
memory_mapping.h
numa.h
os-posix.h
os-win32.h
qtest.h
replay.h
reset.h
rng-random.h
rng.h
seccomp.h
sev.h
sysemu.h vl.c: new function serial_max_hds() 2018-04-26 13:58:29 +01:00
tpm.h
tpm_backend.h
watchdog.h
whpx.h
xen-mapcache.h