qemu-e2k/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 RISC-V Build Infrastructure 2018-03-07 08:30:28 +13:00
balloon.h qapi: Empty out qapi-schema.json 2018-03-02 13:45:50 -06:00
block-backend.h block: Introduce buf register API 2018-02-08 09:22:03 +08:00
blockdev.h
bt.h
cpus.h
cryptodev-vhost-user.h cryptodev-vhost-user: set the key length 2018-03-01 18:26:17 +02:00
cryptodev-vhost.h cryptodev: add vhost-user as a new cryptodev backend 2018-03-01 18:26:17 +02:00
cryptodev.h cryptodev: add vhost support 2018-03-01 18:26:17 +02:00
device_tree.h
dma.h
dump-arch.h
dump.h qapi: Empty out qapi-schema.json 2018-03-02 13:45:50 -06:00
hax.h hax: Support guest RAM sizes of 4GB or more 2018-02-13 11:44:13 +01:00
hostmem.h Add host_memory_backend_pagesize() helper 2018-04-27 18:05:22 +10:00
hvf.h Clean up includes 2018-02-09 05:05:11 +01:00
hw_accel.h Add the WHPX acceleration enlightenments 2018-02-07 14:09:26 +01:00
iothread.h vl: introduce vm_shutdown() 2018-03-08 17:38:51 +00:00
kvm_int.h
kvm.h kvm: introduce memory encryption APIs 2018-03-13 12:04:03 +01:00
memory_mapping.h
numa.h Move include qemu/option.h from qemu-common.h to actual users 2018-02-09 13:52:16 +01:00
os-posix.h
os-win32.h
qtest.h
replay.h replay: make locking visible outside replay code 2018-03-12 16:12:50 +01:00
reset.h
rng-random.h
rng.h
seccomp.h seccomp: Don't include libseccomp from QEMU header 2017-09-22 09:48:33 +01:00
sev.h kvm: introduce memory encryption APIs 2018-03-13 12:04:03 +01:00
sysemu.h vl.c: new function serial_max_hds() 2018-04-26 13:58:29 +01:00
tpm_backend.h Drop superfluous includes of qapi-types.h and test-qapi-types.h 2018-02-09 05:05:11 +01:00
tpm.h Include less of the generated modular QAPI headers 2018-03-02 13:45:50 -06:00
watchdog.h Include less of the generated modular QAPI headers 2018-03-02 13:45:50 -06:00
whpx.h Add the WHPX vcpu API 2018-02-07 14:09:26 +01:00
xen-mapcache.h xen/mapcache: introduce xen_replace_cache_entry() 2017-07-18 14:16:09 -07:00