qemu-e2k/backends
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
..
cryptodev-builtin.c cryptodev: add vhost support 2018-03-01 18:26:17 +02:00
cryptodev-vhost-user.c cryptodev-vhost-user: set the key length 2018-03-01 18:26:17 +02:00
cryptodev-vhost.c cryptodev: add vhost support 2018-03-01 18:26:17 +02:00
cryptodev.c Include less of the generated modular QAPI headers 2018-03-02 13:45:50 -06:00
hostmem-file.c mem: add share parameter to memory-backend-ram 2018-02-19 13:03:24 +02:00
hostmem-memfd.c
hostmem-ram.c mem: add share parameter to memory-backend-ram 2018-02-19 13:03:24 +02:00
hostmem.c Add host_memory_backend_pagesize() helper 2018-04-27 18:05:22 +10:00
Makefile.objs cryptodev: add vhost-user as a new cryptodev backend 2018-03-01 18:26:17 +02:00
rng-egd.c
rng-random.c
rng.c
tpm.c